feat(assets): verify ready exports and fix sandbox bridge
This commit is contained in:
@@ -42,6 +42,14 @@ tasks.register<JavaExec>("validateFanContent") {
|
||||
args("validate", fanContentRoot.asFile.absolutePath)
|
||||
}
|
||||
|
||||
tasks.named("check") {
|
||||
dependsOn("validateFanContent")
|
||||
tasks.register<JavaExec>("validateReadyFanAssets") {
|
||||
group = "verification"
|
||||
description = "Refuses READY catalog records whose Blockbench export artifacts are absent or malformed."
|
||||
classpath = sourceSets.main.get().runtimeClasspath
|
||||
mainClass = application.mainClass
|
||||
args("ready-assets", fanContentRoot.asFile.absolutePath, rootProject.layout.projectDirectory.asFile.absolutePath)
|
||||
}
|
||||
|
||||
tasks.named("check") {
|
||||
dependsOn("validateFanContent", "validateReadyFanAssets")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user