Simplify pack delivery, build lifecycle and HTTP handling; remove project clutter
This commit is contained in:
+15
-4
@@ -16,12 +16,23 @@ dependencies {
|
||||
}
|
||||
neoForge {
|
||||
version = "26.2.0.79"
|
||||
mods { create("astrapacks") { sourceSet(sourceSets.main.get()) } }
|
||||
mods {
|
||||
create("astrapacks") {
|
||||
sourceSet(sourceSets.main.get())
|
||||
}
|
||||
}
|
||||
}
|
||||
java {
|
||||
toolchain.languageVersion.set(JavaLanguageVersion.of(25))
|
||||
}
|
||||
tasks.withType<JavaCompile>().configureEach {
|
||||
options.encoding = "UTF-8"
|
||||
options.release.set(25)
|
||||
}
|
||||
java { toolchain.languageVersion.set(JavaLanguageVersion.of(25)) }
|
||||
tasks.withType<JavaCompile>().configureEach { options.encoding = "UTF-8"; options.release.set(25) }
|
||||
tasks.processResources {
|
||||
inputs.property("modVersion", project.version)
|
||||
filesMatching("META-INF/neoforge.mods.toml") { expand("version" to project.version) }
|
||||
}
|
||||
tasks.test { useJUnitPlatform() }
|
||||
tasks.test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user