|
|
|
@@ -329,7 +329,7 @@ tasks.register("verifyWorkspace") {
|
|
|
|
|
}
|
|
|
|
|
def progressionJeiMigration = new JsonSlurper().parse(file(
|
|
|
|
|
"pack/migrations/26.2.0-alpha.87-progression-jei-audio-to-alpha.88.json"))
|
|
|
|
|
def jeiFiles = prismIndex.files.findAll { it.path == "mods/jei-26.2-fabric-30.27.0.187.jar" }
|
|
|
|
|
def jeiFiles = prismIndex.files.findAll { it.path == "mods/jei-26.2-fabric-30.27.0.188.jar" }
|
|
|
|
|
if (progressionJeiMigration.source?.pack_version != "26.2.0-alpha.87"
|
|
|
|
|
|| progressionJeiMigration.target?.pack_version != "26.2.0-alpha.88"
|
|
|
|
|
|| progressionJeiMigration.target?.modules?.sanctuary != "0.0.0-alpha.38"
|
|
|
|
@@ -344,8 +344,8 @@ tasks.register("verifyWorkspace") {
|
|
|
|
|
|| progressionJeiMigration.compatibility?.network_protocol != 10
|
|
|
|
|
|| progressionJeiMigration.compatibility?.network_protocol_changed != true
|
|
|
|
|
|| jeiFiles.size() != 1
|
|
|
|
|
|| jeiFiles[0].hashes?.sha1 != "cbd62af1f8e568cbe29c7892ae1b2917c0784a44"
|
|
|
|
|
|| jeiFiles[0].hashes?.sha512 != "f8bf88c089c7fe3d56031d7629170ba01eb1d0c5cc4d33f2fd0ac9413369cdef84a0fde999528621426d3dca878c9cfaf7a790622e2cd1d54802e1086fb073f0"
|
|
|
|
|
|| jeiFiles[0].hashes?.sha1 != "addab1f50da54ac55592c75022938522332f92e0"
|
|
|
|
|
|| jeiFiles[0].hashes?.sha512 != "2d87e91f59fc617efaa27ab91145cabc371471ab1a709cd934186240c711f999dbce54cc8af1fcd6259a412f24191d3f6939fa43536911063468efd2952c558b"
|
|
|
|
|
|| jeiFiles[0].env?.client != "required" || jeiFiles[0].env?.server != "required") {
|
|
|
|
|
throw new GradleException("The alpha.88 progression, JEI and Minecrafter audio contract is incomplete")
|
|
|
|
|
}
|
|
|
|
@@ -3427,7 +3427,7 @@ tasks.register("verifyProgressivePauseMenuRelease") {
|
|
|
|
|
[(locale): new JsonSlurper().parse(file(
|
|
|
|
|
"sanctuary/src/main/resources/assets/sanctuary/lang/${locale}.json"))]
|
|
|
|
|
}
|
|
|
|
|
if (rootProject.pack_version != "26.2.0-alpha.203"
|
|
|
|
|
if (rootProject.pack_version != "26.2.0-alpha.204"
|
|
|
|
|
|| rootProject.sanctuary_version != "0.0.0-alpha.117"
|
|
|
|
|
|| rootProject.onlyfun_version != "0.0.0-alpha.19"
|
|
|
|
|
|| release.pack_version != rootProject.pack_version || index.versionId != rootProject.pack_version
|
|
|
|
@@ -3477,7 +3477,7 @@ tasks.register("verifyMirrorLavenderDrawerRelease") {
|
|
|
|
|
def redStonerRegistry = file(
|
|
|
|
|
"redstoner/src/main/java/fr/koka99cab/sanctuary26/redstoner/registry/RedStonerRegistries.java").text
|
|
|
|
|
def drawerRecipe = file("redstoner/src/main/resources/data/redstoner/recipe/drawer.json")
|
|
|
|
|
if (rootProject.pack_version != "26.2.0-alpha.203"
|
|
|
|
|
if (rootProject.pack_version != "26.2.0-alpha.204"
|
|
|
|
|
|| rootProject.anotherworld_version != "0.0.0-alpha.52"
|
|
|
|
|
|| rootProject.redstoner_version != "0.0.0-alpha.10"
|
|
|
|
|
|| release.pack_version != rootProject.pack_version || index.versionId != rootProject.pack_version
|
|
|
|
@@ -4123,7 +4123,7 @@ tasks.register("verifyShopPricingLayoutRelease") {
|
|
|
|
|
"pack/migrations/26.2.0-alpha.192-shop-pricing-layout-to-alpha.193.json"))
|
|
|
|
|
def release = new JsonSlurper().parse(file("pack/release.json"))
|
|
|
|
|
def index = new JsonSlurper().parse(file("pack/prism/modrinth.index.json"))
|
|
|
|
|
if (rootProject.pack_version != "26.2.0-alpha.203"
|
|
|
|
|
if (rootProject.pack_version != "26.2.0-alpha.204"
|
|
|
|
|
|| rootProject.onlyfun_version != "0.0.0-alpha.19"
|
|
|
|
|
|| rootProject.sanctuary_version != "0.0.0-alpha.117"
|
|
|
|
|
|| release.pack_version != rootProject.pack_version || index.versionId != rootProject.pack_version
|
|
|
|
@@ -4168,7 +4168,7 @@ tasks.register("verifyCuisineCropsRelease") {
|
|
|
|
|
def climate = file("itsalive/src/main/java/fr/koka99cab/sanctuary26/itsalive/agriculture/ClimateCropForaging.java").text
|
|
|
|
|
def rice = file("itsalive/src/main/java/fr/koka99cab/sanctuary26/itsalive/agriculture/RiceCropBlock.java").text
|
|
|
|
|
def bean = file("itsalive/src/main/java/fr/koka99cab/sanctuary26/itsalive/agriculture/BeanCropBlock.java").text
|
|
|
|
|
if (rootProject.pack_version != "26.2.0-alpha.203"
|
|
|
|
|
if (rootProject.pack_version != "26.2.0-alpha.204"
|
|
|
|
|
|| rootProject.itsalive_version != "0.0.0-alpha.31"
|
|
|
|
|
|| release.pack_version != rootProject.pack_version || index.versionId != rootProject.pack_version
|
|
|
|
|
|| migration.source?.pack_version != "26.2.0-alpha.193"
|
|
|
|
@@ -4217,7 +4217,7 @@ tasks.register("verifyShopCsvBossGatesRelease") {
|
|
|
|
|
def bossGate = file("onlyfun/src/main/java/fr/koka99cab/sanctuary26/onlyfun/shop/OnlyFunBossShopGate.java").text
|
|
|
|
|
def catalog = file("onlyfun/src/main/java/fr/koka99cab/sanctuary26/onlyfun/shop/OnlyFunShopCatalog.java").text
|
|
|
|
|
def offerCatalog = file("sanctuary/src/main/java/fr/koka99cab/sanctuary26/sanctuary/shop/ShopOfferCatalog.java").text
|
|
|
|
|
if (rootProject.pack_version != "26.2.0-alpha.203"
|
|
|
|
|
if (rootProject.pack_version != "26.2.0-alpha.204"
|
|
|
|
|
|| rootProject.onlyfun_version != "0.0.0-alpha.19"
|
|
|
|
|
|| rootProject.sanctuary_version != "0.0.0-alpha.117"
|
|
|
|
|
|| release.pack_version != rootProject.pack_version || index.versionId != rootProject.pack_version
|
|
|
|
@@ -4263,7 +4263,7 @@ tasks.register("verifyCulinaryMailboxGrappleFixesRelease") {
|
|
|
|
|
def release = new JsonSlurper().parse(file("pack/release.json"))
|
|
|
|
|
def prism = new JsonSlurper().parse(file("pack/prism/modrinth.index.json"))
|
|
|
|
|
def packwiz = file("pack/packwiz/pack.toml").text
|
|
|
|
|
if (rootProject.pack_version != "26.2.0-alpha.203"
|
|
|
|
|
if (rootProject.pack_version != "26.2.0-alpha.204"
|
|
|
|
|
|| migration.source?.pack_version != "26.2.0-alpha.195"
|
|
|
|
|
|| migration.target?.pack_version != "26.2.0-alpha.196"
|
|
|
|
|
|| migration.target?.modules != [
|
|
|
|
@@ -4281,10 +4281,10 @@ tasks.register("verifyCulinaryMailboxGrappleFixesRelease") {
|
|
|
|
|
|| migration.distribution?.jei?.target != "30.26.0.182"
|
|
|
|
|
|| migration.compatibility?.save_migration_required != false
|
|
|
|
|
|| migration.compatibility?.registry_ids_changed != false
|
|
|
|
|
|| release.pack_version != "26.2.0-alpha.203"
|
|
|
|
|
|| release.modrinth?.primary_file != "sanctuary-26.2.0-alpha.203.mrpack"
|
|
|
|
|
|| prism.versionId != "26.2.0-alpha.203"
|
|
|
|
|
|| !packwiz.contains('version = "26.2.0-alpha.203"')) {
|
|
|
|
|
|| release.pack_version != "26.2.0-alpha.204"
|
|
|
|
|
|| release.modrinth?.primary_file != "sanctuary-26.2.0-alpha.204.mrpack"
|
|
|
|
|
|| prism.versionId != "26.2.0-alpha.204"
|
|
|
|
|
|| !packwiz.contains('version = "26.2.0-alpha.204"')) {
|
|
|
|
|
throw new GradleException("The alpha.196 culinary, mailbox and grapple release contract is incomplete")
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@@ -4309,7 +4309,7 @@ tasks.register("verifyQuestRequestsCauldronBatchesRelease") {
|
|
|
|
|
def prism = new JsonSlurper().parse(file("pack/prism/modrinth.index.json"))
|
|
|
|
|
def packwiz = file("pack/packwiz/pack.toml").text
|
|
|
|
|
def sanctuaryManifest = new JsonSlurper().parse(file("sanctuary/src/main/resources/fabric.mod.json"))
|
|
|
|
|
if (rootProject.pack_version != "26.2.0-alpha.203"
|
|
|
|
|
if (rootProject.pack_version != "26.2.0-alpha.204"
|
|
|
|
|
|| rootProject.itsalive_version != "0.0.0-alpha.31"
|
|
|
|
|
|| rootProject.sanctuary_version != "0.0.0-alpha.117"
|
|
|
|
|
|| migration.source?.pack_version != "26.2.0-alpha.196"
|
|
|
|
@@ -4329,10 +4329,10 @@ tasks.register("verifyQuestRequestsCauldronBatchesRelease") {
|
|
|
|
|
|| migration.distribution?.jei?.target != "30.26.0.186"
|
|
|
|
|
|| migration.compatibility?.sanctuary_target_network_protocol != 19
|
|
|
|
|
|| sanctuaryManifest.custom?.sanctuary26?.network_protocol != 21
|
|
|
|
|
|| release.pack_version != "26.2.0-alpha.203"
|
|
|
|
|
|| release.modrinth?.primary_file != "sanctuary-26.2.0-alpha.203.mrpack"
|
|
|
|
|
|| prism.versionId != "26.2.0-alpha.203"
|
|
|
|
|
|| !packwiz.contains('version = "26.2.0-alpha.203"')) {
|
|
|
|
|
|| release.pack_version != "26.2.0-alpha.204"
|
|
|
|
|
|| release.modrinth?.primary_file != "sanctuary-26.2.0-alpha.204.mrpack"
|
|
|
|
|
|| prism.versionId != "26.2.0-alpha.204"
|
|
|
|
|
|| !packwiz.contains('version = "26.2.0-alpha.204"')) {
|
|
|
|
|
throw new GradleException("The alpha.197 quest-request and cauldron-batch release contract is incomplete")
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@@ -4359,7 +4359,7 @@ tasks.register("verifyFermentationBarrelAutomationRelease") {
|
|
|
|
|
def packwiz = file("pack/packwiz/pack.toml").text
|
|
|
|
|
def packwizIndex = file("pack/packwiz/index.toml").text
|
|
|
|
|
def itsAliveManifest = new JsonSlurper().parse(file("itsalive/src/main/resources/fabric.mod.json"))
|
|
|
|
|
if (rootProject.pack_version != "26.2.0-alpha.203"
|
|
|
|
|
if (rootProject.pack_version != "26.2.0-alpha.204"
|
|
|
|
|
|| rootProject.itsalive_version != "0.0.0-alpha.31"
|
|
|
|
|
|| migration.source?.pack_version != "26.2.0-alpha.197"
|
|
|
|
|
|| migration.target?.pack_version != "26.2.0-alpha.198"
|
|
|
|
@@ -4378,10 +4378,10 @@ tasks.register("verifyFermentationBarrelAutomationRelease") {
|
|
|
|
|
|| migration.distribution?.packwiz_index_refreshed != true
|
|
|
|
|
|| itsAliveManifest.custom?.sanctuary26?.data_version != 1
|
|
|
|
|
|| itsAliveManifest.custom?.sanctuary26?.network_protocol != 3
|
|
|
|
|
|| release.pack_version != "26.2.0-alpha.203"
|
|
|
|
|
|| release.modrinth?.primary_file != "sanctuary-26.2.0-alpha.203.mrpack"
|
|
|
|
|
|| prism.versionId != "26.2.0-alpha.203"
|
|
|
|
|
|| !packwiz.contains('version = "26.2.0-alpha.203"')
|
|
|
|
|
|| release.pack_version != "26.2.0-alpha.204"
|
|
|
|
|
|| release.modrinth?.primary_file != "sanctuary-26.2.0-alpha.204.mrpack"
|
|
|
|
|
|| prism.versionId != "26.2.0-alpha.204"
|
|
|
|
|
|| !packwiz.contains('version = "26.2.0-alpha.204"')
|
|
|
|
|
|| !packwizIndex.contains('file = "mods/itsalive-0.0.0-alpha.31.jar"')) {
|
|
|
|
|
throw new GradleException("The alpha.198 fermentation barrel release contract is incomplete")
|
|
|
|
|
}
|
|
|
|
@@ -4409,7 +4409,7 @@ tasks.register("verifyQuestRequestContractsRelease") {
|
|
|
|
|
def packwiz = file("pack/packwiz/pack.toml").text
|
|
|
|
|
def packwizIndex = file("pack/packwiz/index.toml").text
|
|
|
|
|
def sanctuaryManifest = new JsonSlurper().parse(file("sanctuary/src/main/resources/fabric.mod.json"))
|
|
|
|
|
if (rootProject.pack_version != "26.2.0-alpha.203"
|
|
|
|
|
if (rootProject.pack_version != "26.2.0-alpha.204"
|
|
|
|
|
|| rootProject.itsalive_version != "0.0.0-alpha.31"
|
|
|
|
|
|| rootProject.sanctuary_version != "0.0.0-alpha.117"
|
|
|
|
|
|| migration.source?.pack_version != "26.2.0-alpha.198"
|
|
|
|
@@ -4423,10 +4423,10 @@ tasks.register("verifyQuestRequestContractsRelease") {
|
|
|
|
|
|| migration.quest_request_contracts?.chat_accept_revalidates_distance_owner_sign_and_claim != true
|
|
|
|
|
|| migration.compatibility?.sanctuary_target_network_protocol != 20
|
|
|
|
|
|| sanctuaryManifest.custom?.sanctuary26?.network_protocol != 21
|
|
|
|
|
|| release.pack_version != "26.2.0-alpha.203"
|
|
|
|
|
|| release.modrinth?.primary_file != "sanctuary-26.2.0-alpha.203.mrpack"
|
|
|
|
|
|| prism.versionId != "26.2.0-alpha.203"
|
|
|
|
|
|| !packwiz.contains('version = "26.2.0-alpha.203"')
|
|
|
|
|
|| release.pack_version != "26.2.0-alpha.204"
|
|
|
|
|
|| release.modrinth?.primary_file != "sanctuary-26.2.0-alpha.204.mrpack"
|
|
|
|
|
|| prism.versionId != "26.2.0-alpha.204"
|
|
|
|
|
|| !packwiz.contains('version = "26.2.0-alpha.204"')
|
|
|
|
|
|| !packwizIndex.contains('file = "mods/itsalive-0.0.0-alpha.31.jar"')
|
|
|
|
|
|| !packwizIndex.contains('file = "mods/sanctuary-0.0.0-alpha.117.jar"')) {
|
|
|
|
|
throw new GradleException("The alpha.199 quest-request contract release is incomplete")
|
|
|
|
@@ -4464,7 +4464,7 @@ tasks.register("verifyWeatherTntAmbianceRelease") {
|
|
|
|
|
def ambianceManifest = new JsonSlurper().parse(file("ambiance/src/main/resources/fabric.mod.json"))
|
|
|
|
|
def ouchManifest = new JsonSlurper().parse(file("ouch/src/main/resources/fabric.mod.json"))
|
|
|
|
|
def rootBuild = file("build.gradle").text
|
|
|
|
|
if (rootProject.pack_version != "26.2.0-alpha.203"
|
|
|
|
|
if (rootProject.pack_version != "26.2.0-alpha.204"
|
|
|
|
|
|| rootProject.ambiance_version != "0.0.0-alpha.12"
|
|
|
|
|
|| rootProject.ouch_version != "0.0.0-alpha.9"
|
|
|
|
|
|| migration.source?.pack_version != "26.2.0-alpha.199"
|
|
|
|
@@ -4498,10 +4498,10 @@ tasks.register("verifyWeatherTntAmbianceRelease") {
|
|
|
|
|
|| !weatherTnt.contains("AmbianceDailyWeather.CLEAR")
|
|
|
|
|
|| !weatherTnt.contains("CLEAR_WEATHER_TICKS = 864_000")
|
|
|
|
|
|| weatherTnt.contains("setWeatherParameters")
|
|
|
|
|
|| release.pack_version != "26.2.0-alpha.203"
|
|
|
|
|
|| release.modrinth?.primary_file != "sanctuary-26.2.0-alpha.203.mrpack"
|
|
|
|
|
|| prism.versionId != "26.2.0-alpha.203"
|
|
|
|
|
|| !packwiz.contains('version = "26.2.0-alpha.203"')
|
|
|
|
|
|| release.pack_version != "26.2.0-alpha.204"
|
|
|
|
|
|| release.modrinth?.primary_file != "sanctuary-26.2.0-alpha.204.mrpack"
|
|
|
|
|
|| prism.versionId != "26.2.0-alpha.204"
|
|
|
|
|
|| !packwiz.contains('version = "26.2.0-alpha.204"')
|
|
|
|
|
|| !packwizIndex.contains('file = "mods/ambiance-0.0.0-alpha.12.jar"')
|
|
|
|
|
|| !packwizIndex.contains('file = "mods/ouch-0.0.0-alpha.9.jar"')) {
|
|
|
|
|
throw new GradleException("The alpha.200 Weather TNT and Ambiance release is incomplete")
|
|
|
|
@@ -4530,7 +4530,7 @@ tasks.register("verifyQuestRequestEscrowRelease") {
|
|
|
|
|
def packwiz = file("pack/packwiz/pack.toml").text
|
|
|
|
|
def packwizIndex = file("pack/packwiz/index.toml").text
|
|
|
|
|
def sanctuaryManifest = new JsonSlurper().parse(file("sanctuary/src/main/resources/fabric.mod.json"))
|
|
|
|
|
if (rootProject.pack_version != "26.2.0-alpha.203"
|
|
|
|
|
if (rootProject.pack_version != "26.2.0-alpha.204"
|
|
|
|
|
|| rootProject.sanctuary_version != "0.0.0-alpha.117"
|
|
|
|
|
|| migration.source?.pack_version != "26.2.0-alpha.200"
|
|
|
|
|
|| migration.source?.modules?.sanctuary != "0.0.0-alpha.115"
|
|
|
|
@@ -4545,10 +4545,10 @@ tasks.register("verifyQuestRequestEscrowRelease") {
|
|
|
|
|
|| migration.compatibility?.sanctuary_target_network_protocol != 21
|
|
|
|
|
|| sanctuaryManifest.custom?.sanctuary26?.data_version != 11
|
|
|
|
|
|| sanctuaryManifest.custom?.sanctuary26?.network_protocol != 21
|
|
|
|
|
|| release.pack_version != "26.2.0-alpha.203"
|
|
|
|
|
|| release.modrinth?.primary_file != "sanctuary-26.2.0-alpha.203.mrpack"
|
|
|
|
|
|| prism.versionId != "26.2.0-alpha.203"
|
|
|
|
|
|| !packwiz.contains('version = "26.2.0-alpha.203"')
|
|
|
|
|
|| release.pack_version != "26.2.0-alpha.204"
|
|
|
|
|
|| release.modrinth?.primary_file != "sanctuary-26.2.0-alpha.204.mrpack"
|
|
|
|
|
|| prism.versionId != "26.2.0-alpha.204"
|
|
|
|
|
|| !packwiz.contains('version = "26.2.0-alpha.204"')
|
|
|
|
|
|| !packwizIndex.contains('file = "mods/sanctuary-0.0.0-alpha.117.jar"')) {
|
|
|
|
|
throw new GradleException("The alpha.201 quest-request escrow release is incomplete")
|
|
|
|
|
}
|
|
|
|
@@ -4584,7 +4584,7 @@ tasks.register("verifyWaystoneShopCulinaryAlpha202Release") {
|
|
|
|
|
"iliketomoveit/src/main/resources/fabric.mod.json"))
|
|
|
|
|
def sanctuaryManifest = new JsonSlurper().parse(file(
|
|
|
|
|
"sanctuary/src/main/resources/fabric.mod.json"))
|
|
|
|
|
if (rootProject.pack_version != "26.2.0-alpha.203"
|
|
|
|
|
if (rootProject.pack_version != "26.2.0-alpha.204"
|
|
|
|
|
|| rootProject.anotherworld_version != "0.0.0-alpha.52"
|
|
|
|
|
|| rootProject.itsalive_version != "0.0.0-alpha.31"
|
|
|
|
|
|| rootProject.iliketomoveit_version != "0.0.0-alpha.14"
|
|
|
|
@@ -4624,11 +4624,11 @@ tasks.register("verifyWaystoneShopCulinaryAlpha202Release") {
|
|
|
|
|
|| moveItManifest.custom?.sanctuary26?.network_protocol != 5
|
|
|
|
|
|| sanctuaryManifest.custom?.sanctuary26?.data_version != 11
|
|
|
|
|
|| sanctuaryManifest.custom?.sanctuary26?.network_protocol != 21
|
|
|
|
|
|| release.pack_version != "26.2.0-alpha.203"
|
|
|
|
|
|| release.modrinth?.primary_file != "sanctuary-26.2.0-alpha.203.mrpack"
|
|
|
|
|
|| prism.versionId != "26.2.0-alpha.203"
|
|
|
|
|
|| !packwiz.contains('version = "26.2.0-alpha.203"')
|
|
|
|
|
|| !packwizIndex.contains('file = "mods/anotherworld-0.0.0-alpha.51.jar"')
|
|
|
|
|
|| release.pack_version != "26.2.0-alpha.204"
|
|
|
|
|
|| release.modrinth?.primary_file != "sanctuary-26.2.0-alpha.204.mrpack"
|
|
|
|
|
|| prism.versionId != "26.2.0-alpha.204"
|
|
|
|
|
|| !packwiz.contains('version = "26.2.0-alpha.204"')
|
|
|
|
|
|| !packwizIndex.contains('file = "mods/anotherworld-0.0.0-alpha.52.jar"')
|
|
|
|
|
|| !packwizIndex.contains('file = "mods/itsalive-0.0.0-alpha.31.jar"')
|
|
|
|
|
|| !packwizIndex.contains('file = "mods/iliketomoveit-0.0.0-alpha.14.jar"')
|
|
|
|
|
|| !packwizIndex.contains('file = "mods/sanctuary-0.0.0-alpha.117.jar"')) {
|
|
|
|
@@ -4681,7 +4681,7 @@ tasks.register("verifySafeVaultFeature") {
|
|
|
|
|
def image = javax.imageio.ImageIO.read(file("anotherworld/src/main/resources/assets/anotherworld/textures/${path}"))
|
|
|
|
|
image == null || image.width != size[0] || image.height != size[1]
|
|
|
|
|
}.keySet()
|
|
|
|
|
if (rootProject.pack_version != "26.2.0-alpha.203"
|
|
|
|
|
if (rootProject.pack_version != "26.2.0-alpha.204"
|
|
|
|
|
|| rootProject.anotherworld_version != "0.0.0-alpha.52"
|
|
|
|
|
|| rootProject.sanctuary_version != "0.0.0-alpha.117"
|
|
|
|
|
|| migration.schema_version != 1
|
|
|
|
@@ -4717,7 +4717,7 @@ tasks.register("verifySafeVaultFeature") {
|
|
|
|
|
|| interfaceMigration.compatibility?.pack_release_updated != true
|
|
|
|
|
|| fixMigration.source?.pack_version != "26.2.0-alpha.203"
|
|
|
|
|
|| fixMigration.source?.modules != [anotherworld: "0.0.0-alpha.51"]
|
|
|
|
|
|| fixMigration.target?.pack_version != "26.2.0-alpha.203"
|
|
|
|
|
|| fixMigration.target?.pack_version != "26.2.0-alpha.204"
|
|
|
|
|
|| fixMigration.target?.modules != [anotherworld: "0.0.0-alpha.52"]
|
|
|
|
|
|| fixMigration.safe_vault_structure_fix?.unformed_block_texture != "anotherworld:block/safe_block"
|
|
|
|
|
|| fixMigration.safe_vault_structure_fix?.horizontal_3x1_rejected != true
|
|
|
|
@@ -4734,7 +4734,7 @@ tasks.register("verifySafeVaultFeature") {
|
|
|
|
|
|| fixMigration.compatibility?.save_migration_required != false
|
|
|
|
|
|| fixMigration.compatibility?.registry_ids_changed != false
|
|
|
|
|
|| fixMigration.compatibility?.saved_currency_balances_preserved != true
|
|
|
|
|
|| fixMigration.compatibility?.pack_release_updated != false
|
|
|
|
|
|| fixMigration.compatibility?.pack_release_updated != true
|
|
|
|
|
|| manifest.depends?.sanctuary != ">=0.0.0-alpha.117"
|
|
|
|
|
|| manifest.custom?.sanctuary26?.data_version != 3
|
|
|
|
|
|| !file("build.gradle").text.contains('implementation project(":sanctuary")')
|
|
|
|
@@ -4778,8 +4778,8 @@ tasks.register("verifySafeVaultInterfaceAlpha203Release") {
|
|
|
|
|
def prism = new JsonSlurper().parse(file("pack/prism/modrinth.index.json"))
|
|
|
|
|
def packwiz = file("pack/packwiz/pack.toml").text
|
|
|
|
|
def packwizIndex = file("pack/packwiz/index.toml").text
|
|
|
|
|
def jeiFiles = prism.files.findAll { it.path == "mods/jei-26.2-fabric-30.27.0.187.jar" }
|
|
|
|
|
if (rootProject.pack_version != "26.2.0-alpha.203"
|
|
|
|
|
def jeiFiles = prism.files.findAll { it.path == "mods/jei-26.2-fabric-30.27.0.188.jar" }
|
|
|
|
|
if (rootProject.pack_version != "26.2.0-alpha.204"
|
|
|
|
|
|| rootProject.anotherworld_version != "0.0.0-alpha.52"
|
|
|
|
|
|| migration.source?.pack_version != "26.2.0-alpha.202"
|
|
|
|
|
|| migration.source?.modules != [anotherworld: "0.0.0-alpha.50"]
|
|
|
|
@@ -4797,23 +4797,78 @@ tasks.register("verifySafeVaultInterfaceAlpha203Release") {
|
|
|
|
|
|| migration.distribution?.jei?.modrinth_version_id != "XXTFqqwG"
|
|
|
|
|
|| migration.distribution?.jei?.prism_manifest_updated != true
|
|
|
|
|
|| release.pack_version != rootProject.pack_version
|
|
|
|
|
|| release.modrinth?.primary_file != "sanctuary-26.2.0-alpha.203.mrpack"
|
|
|
|
|
|| release.modrinth?.primary_file != "sanctuary-26.2.0-alpha.204.mrpack"
|
|
|
|
|
|| prism.versionId != rootProject.pack_version
|
|
|
|
|
|| !packwiz.contains('version = "26.2.0-alpha.203"')
|
|
|
|
|
|| !packwizIndex.contains('file = "mods/anotherworld-0.0.0-alpha.51.jar"')
|
|
|
|
|
|| !packwiz.contains('version = "26.2.0-alpha.204"')
|
|
|
|
|
|| !packwizIndex.contains('file = "mods/anotherworld-0.0.0-alpha.52.jar"')
|
|
|
|
|
|| packwizIndex.contains('file = "mods/anotherworld-0.0.0-alpha.50.jar"')
|
|
|
|
|
|| jeiFiles.size() != 1
|
|
|
|
|
|| jeiFiles[0].hashes?.sha1 != "cbd62af1f8e568cbe29c7892ae1b2917c0784a44"
|
|
|
|
|
|| jeiFiles[0].hashes?.sha512 != "f8bf88c089c7fe3d56031d7629170ba01eb1d0c5cc4d33f2fd0ac9413369cdef84a0fde999528621426d3dca878c9cfaf7a790622e2cd1d54802e1086fb073f0") {
|
|
|
|
|
|| jeiFiles[0].hashes?.sha1 != "addab1f50da54ac55592c75022938522332f92e0"
|
|
|
|
|
|| jeiFiles[0].hashes?.sha512 != "2d87e91f59fc617efaa27ab91145cabc371471ab1a709cd934186240c711f999dbce54cc8af1fcd6259a412f24191d3f6939fa43536911063468efd2952c558b") {
|
|
|
|
|
throw new GradleException("The alpha.203 upright safe-vault interface release is incomplete")
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
tasks.register("verifySafeVaultFixAlpha204Release") {
|
|
|
|
|
group = "verification"
|
|
|
|
|
description = "Checks the complete Sanctuary 26.2.0-alpha.204 Safe Block finalization release."
|
|
|
|
|
inputs.file(file("pack/migrations/anotherworld-safe-vault-fix-alpha52.json"))
|
|
|
|
|
inputs.file(file("pack/release.json"))
|
|
|
|
|
inputs.file(file("pack/prism/modrinth.index.json"))
|
|
|
|
|
inputs.file(file("pack/packwiz/pack.toml"))
|
|
|
|
|
inputs.file(file("pack/packwiz/index.toml"))
|
|
|
|
|
doLast {
|
|
|
|
|
def migration = new JsonSlurper().parse(file("pack/migrations/anotherworld-safe-vault-fix-alpha52.json"))
|
|
|
|
|
def release = new JsonSlurper().parse(file("pack/release.json"))
|
|
|
|
|
def prism = new JsonSlurper().parse(file("pack/prism/modrinth.index.json"))
|
|
|
|
|
def packwiz = file("pack/packwiz/pack.toml").text
|
|
|
|
|
def packwizIndex = file("pack/packwiz/index.toml").text
|
|
|
|
|
def jeiFiles = prism.files.findAll { it.path == "mods/jei-26.2-fabric-30.27.0.188.jar" }
|
|
|
|
|
if (rootProject.pack_version != "26.2.0-alpha.204"
|
|
|
|
|
|| rootProject.anotherworld_version != "0.0.0-alpha.52"
|
|
|
|
|
|| migration.source?.pack_version != "26.2.0-alpha.203"
|
|
|
|
|
|| migration.source?.modules != [anotherworld: "0.0.0-alpha.51"]
|
|
|
|
|
|| migration.target?.pack_version != "26.2.0-alpha.204"
|
|
|
|
|
|| migration.target?.modules != [anotherworld: "0.0.0-alpha.52"]
|
|
|
|
|
|| migration.safe_vault_structure_fix?.unformed_block_texture != "anotherworld:block/safe_block"
|
|
|
|
|
|| migration.safe_vault_structure_fix?.horizontal_3x1_rejected != true
|
|
|
|
|
|| migration.safe_vault_structure_fix?.vertical_3x1_rejected != true
|
|
|
|
|
|| migration.safe_vault_structure_fix?.complete_3x3_mask_required != true
|
|
|
|
|
|| migration.safe_vault_interface_fix?.emerald_row_visible != true
|
|
|
|
|
|| migration.safe_vault_interface_fix?.extended_inventory_starts_below_currency_controls != true
|
|
|
|
|
|| migration.safe_vault_interface_fix?.native_inventory_label_suppressed != true
|
|
|
|
|
|| migration.compatibility?.anotherworld_data_version != 3
|
|
|
|
|
|| migration.compatibility?.vault_data_version != 2
|
|
|
|
|
|| migration.compatibility?.anotherworld_network_protocol != 1
|
|
|
|
|
|| migration.compatibility?.save_migration_required != false
|
|
|
|
|
|| migration.compatibility?.registry_ids_changed != false
|
|
|
|
|
|| migration.compatibility?.saved_currency_balances_preserved != true
|
|
|
|
|
|| migration.compatibility?.pack_release_updated != true
|
|
|
|
|
|| migration.distribution?.packwiz_index_refreshed != true
|
|
|
|
|
|| migration.distribution?.jei?.source != "30.27.0.187"
|
|
|
|
|
|| migration.distribution?.jei?.target != "30.27.0.188"
|
|
|
|
|
|| migration.distribution?.jei?.modrinth_version_id != "OcMayhUH"
|
|
|
|
|
|| migration.distribution?.jei?.prism_manifest_updated != true
|
|
|
|
|
|| release.pack_version != rootProject.pack_version
|
|
|
|
|
|| release.modrinth?.primary_file != "sanctuary-26.2.0-alpha.204.mrpack"
|
|
|
|
|
|| prism.versionId != rootProject.pack_version
|
|
|
|
|
|| !packwiz.contains('version = "26.2.0-alpha.204"')
|
|
|
|
|
|| !packwizIndex.contains('file = "mods/anotherworld-0.0.0-alpha.52.jar"')
|
|
|
|
|
|| packwizIndex.contains('file = "mods/anotherworld-0.0.0-alpha.51.jar"')
|
|
|
|
|
|| jeiFiles.size() != 1
|
|
|
|
|
|| jeiFiles[0].hashes?.sha1 != "addab1f50da54ac55592c75022938522332f92e0"
|
|
|
|
|
|| jeiFiles[0].hashes?.sha512 != "2d87e91f59fc617efaa27ab91145cabc371471ab1a709cd934186240c711f999dbce54cc8af1fcd6259a412f24191d3f6939fa43536911063468efd2952c558b") {
|
|
|
|
|
throw new GradleException("The alpha.204 Safe Block finalization release is incomplete")
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
tasks.named("verifyWorkspace") {
|
|
|
|
|
dependsOn tasks.named("verifyWaystoneShopCulinaryAlpha202Release")
|
|
|
|
|
dependsOn tasks.named("verifySafeVaultFeature")
|
|
|
|
|
dependsOn tasks.named("verifySafeVaultInterfaceAlpha203Release")
|
|
|
|
|
dependsOn tasks.named("verifySafeVaultFixAlpha204Release")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
tasks.named("check") {
|
|
|
|
|