Use standard bundled assets and simplify cauldron interactions
This commit is contained in:
+5
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user