Add missed files

This commit is contained in:
2022-05-12 00:20:18 +02:00
parent 16c24ce795
commit a49903cc69
40 changed files with 728 additions and 367 deletions

View File

@@ -1,11 +1,19 @@
subprojects {
def version_base = "${project.version_major}.${project.version_minor}"
version = "${version_base}.${project.version_patch}"
// Jenkins
if (System.getenv('BUILD_NUMBER') != null) {
version = version_base + "." + System.getenv('BUILD_NUMBER') + "d"
}
apply plugin: 'java'
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
java.withSourcesJar()
java.withJavadocJar()
//java.withSourcesJar()
//java.withJavadocJar()
jar {
manifest {
attributes([
@@ -22,25 +30,16 @@ subprojects {
])
}
}
repositories {
mavenCentral()
maven {
name = 'Sponge / Mixin'
url = 'https://repo.spongepowered.org/repository/maven-public/'
}
maven {
name = 'BlameJared Maven (CrT / Bookshelf)'
url = 'https://maven.blamejared.com'
}
}
tasks.withType(JavaCompile).configureEach {
it.options.encoding = 'UTF-8'
it.options.release = 17
}
@@ -49,7 +48,10 @@ subprojects {
// metadata includes mapped dependencies which are not reasonably consumable by
// other mod developers.
tasks.withType(GenerateModuleMetadata) {
enabled = false
}
}
clean {
delete "$rootDir/artifacts"
}
}