Publish resource packs only after successful reserved builds

Expose asynchronous publication receipts, roll back failed prepared inputs, and preserve the active pack across failed builds and shutdown.
This commit is contained in:
2026-09-24 19:28:22 +03:00
parent d0e64c048d
commit 4ffb412713
7 changed files with 488 additions and 55 deletions
+9 -1
View File
@@ -3,7 +3,7 @@ plugins {
id("net.neoforged.moddev") version "2.0.146"
}
group = "online.astradev"
version = "0.2.4"
version = "0.2.5"
repositories {
mavenCentral()
}
@@ -33,4 +33,12 @@ tasks.processResources {
}
tasks.test {
useJUnitPlatform()
systemProperty("astrapacks.projectDirectory", projectDir.absolutePath)
workingDir = layout.buildDirectory.dir("test-runtime").get().asFile
doFirst { workingDir.mkdirs() }
}
sourceSets.test {
compileClasspath += sourceSets.main.get().compileClasspath
runtimeClasspath += sourceSets.main.get().compileClasspath
}