Adopt the AstraPlus content module API
This commit is contained in:
+7
-1
@@ -5,10 +5,15 @@ plugins {
|
||||
group = "online.astradev"
|
||||
version = "0.2.4"
|
||||
repositories { mavenCentral() }
|
||||
val astraPlusApi = providers.gradleProperty("astraPlusApi")
|
||||
.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 {
|
||||
compileOnly(files("../AstraPlus/build/libs/AstraPlus-0.9.3.jar"))
|
||||
compileOnly(files(astraPlusApi))
|
||||
testImplementation("org.junit.jupiter:junit-jupiter:5.11.4")
|
||||
testRuntimeOnly("org.junit.platform:junit-platform-launcher:1.11.4")
|
||||
testRuntimeOnly(files(astraPlusRuntime))
|
||||
}
|
||||
neoForge {
|
||||
version = "26.2.0.79"
|
||||
@@ -40,6 +45,7 @@ sourceSets.test {
|
||||
}
|
||||
val integrationTest = sourceSets.create("integrationTest") {
|
||||
compileClasspath += sourceSets.main.get().output + sourceSets.main.get().compileClasspath
|
||||
compileClasspath += files(astraPlusRuntime)
|
||||
runtimeClasspath += output + compileClasspath
|
||||
}
|
||||
tasks.register<Jar>("integrationTestJar") {
|
||||
|
||||
Reference in New Issue
Block a user