Own projectile runtime and verify modular gameplay and upgrade boundaries

This commit is contained in:
2026-09-24 19:56:28 +03:00
parent ea4ea03711
commit 3cc5c6abde
18 changed files with 1656 additions and 125 deletions
+9 -3
View File
@@ -3,12 +3,12 @@ plugins {
id("net.neoforged.moddev") version "2.0.146"
}
group = "online.astradev"
version = "0.2.4"
version = "0.2.5"
repositories { mavenCentral() }
val astraPlusApi = providers.gradleProperty("astraPlusApi")
.orElse("../AstraPlus/build/libs/AstraPlus-0.9.9-api.jar")
.orElse("../AstraPlus/build/libs/AstraPlus-0.9.11-api.jar")
val astraPlusRuntime = providers.gradleProperty("astraPlusRuntime")
.orElse("../AstraPlus/build/libs/AstraPlus-0.9.9.jar")
.orElse("../AstraPlus/build/libs/AstraPlus-0.9.11.jar")
dependencies {
compileOnly(files(astraPlusApi))
testImplementation("org.junit.jupiter:junit-jupiter:5.11.4")
@@ -61,3 +61,9 @@ tasks.register<Exec>("integrationTest") {
commandLine("pwsh", "-NoProfile", "-File", "src/integrationTest/run.ps1")
if (providers.gradleProperty("experimental").isPresent) args("-Experimental")
}
tasks.register<Exec>("compatibilityTest") {
commandLine("pwsh", "-NoProfile", "-File", "src/integrationTest/compatibility.ps1")
providers.gradleProperty("oldContentJar").orNull?.let { args("-OldContentJar", it) }
providers.gradleProperty("astraPlusRuntime").orNull?.let { args("-PlusJar", it) }
}