Simplify pack delivery, build lifecycle and HTTP handling; remove project clutter

This commit is contained in:
2026-09-06 18:28:23 +03:00
parent 09d002987f
commit e924cf26a5
13 changed files with 800 additions and 566 deletions
+15 -4
View File
@@ -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()
}