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:
+9
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user