Use standard bundled assets and simplify cauldron interactions

This commit is contained in:
2026-09-13 23:17:48 +03:00
parent 3de2fdf81e
commit 90f8873de2
14 changed files with 245 additions and 349 deletions
+5 -2
View File
@@ -3,10 +3,10 @@ plugins {
id("net.neoforged.moddev") version "2.0.146"
}
group = "online.astradev"
version = "0.3.4"
version = "0.3.5"
repositories { mavenCentral() }
val astraPlusApi = providers.gradleProperty("astraPlusApi")
.orElse("../AstraPlus/build/libs/AstraPlus-0.9.2.jar")
.orElse("../AstraPlus/build/libs/AstraPlus-0.9.3.jar")
dependencies {
compileOnly(files(astraPlusApi))
testImplementation("org.junit.jupiter:junit-jupiter:5.11.4")
@@ -25,9 +25,12 @@ tasks.withType<JavaCompile>().configureEach {
options.release.set(25)
}
tasks.processResources {
includeEmptyDirs = false
inputs.property("modVersion", project.version)
filesMatching("META-INF/neoforge.mods.toml") { expand("version" to project.version) }
}
tasks.withType<Jar>().configureEach { includeEmptyDirs = false }
tasks.test { useJUnitPlatform() }
sourceSets.test {
compileClasspath += sourceSets.main.get().compileClasspath