Compile against the AstraPlus API artifact

This commit is contained in:
2026-09-19 16:32:25 +03:00
parent 90f8873de2
commit cc085f82ba
+4 -1
View File
@@ -6,11 +6,14 @@ group = "online.astradev"
version = "0.3.5" version = "0.3.5"
repositories { mavenCentral() } repositories { mavenCentral() }
val astraPlusApi = providers.gradleProperty("astraPlusApi") val astraPlusApi = providers.gradleProperty("astraPlusApi")
.orElse("../AstraPlus/build/libs/AstraPlus-0.9.3.jar") .orElse("../AstraPlus/build/libs/AstraPlus-0.9.8-api.jar")
val astraPlusRuntime = providers.gradleProperty("astraPlusRuntime")
.orElse("../AstraPlus/build/libs/AstraPlus-0.9.8.jar")
dependencies { dependencies {
compileOnly(files(astraPlusApi)) compileOnly(files(astraPlusApi))
testImplementation("org.junit.jupiter:junit-jupiter:5.11.4") testImplementation("org.junit.jupiter:junit-jupiter:5.11.4")
testRuntimeOnly("org.junit.platform:junit-platform-launcher:1.11.4") testRuntimeOnly("org.junit.platform:junit-platform-launcher:1.11.4")
testRuntimeOnly(files(astraPlusRuntime))
} }
neoForge { neoForge {
version = "26.2.0.79" version = "26.2.0.79"