From 48617773f4ec81d732ce21d53a1557d8f1fd7c36 Mon Sep 17 00:00:00 2001 From: Ruben Taelman Date: Tue, 13 Aug 2024 17:42:34 +0200 Subject: [PATCH] Update version checker URLs --- buildSrc/src/main/groovy/multiloader-common.gradle | 7 ++++--- gradle.properties | 3 ++- loader-forge/src/main/resources/META-INF/mods.toml | 2 +- .../src/main/resources/META-INF/neoforge.mods.toml | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/buildSrc/src/main/groovy/multiloader-common.gradle b/buildSrc/src/main/groovy/multiloader-common.gradle index bf073e0..6187439 100644 --- a/buildSrc/src/main/groovy/multiloader-common.gradle +++ b/buildSrc/src/main/groovy/multiloader-common.gradle @@ -177,14 +177,15 @@ processResources { 'mod_author' : mod_author, 'mod_id' : mod_id, 'license' : license, - 'issue_tracker_url' : issue_tracker_url, - 'display_url' : display_url, - 'update_json_url' : update_json_url, + 'issue_tracker_url' : issue_tracker_url, + 'display_url' : display_url, 'description' : project.description, 'neoforge_version' : neoforge_version, 'neoforge_loader_version_range': neoforge_loader_version_range, + 'neoforge_update_json_url' : neoforge_update_json_url, 'forge_version' : forge_version, 'forge_loader_version_range' : forge_loader_version_range, + 'forge_update_json_url' : forge_update_json_url, 'java_version' : java_version ] diff --git a/gradle.properties b/gradle.properties index 9ad149a..22ce9d5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -11,7 +11,6 @@ mod_id=flopper license=MIT issue_tracker_url=https://github.com/CyclopsMC/Flopper/issues display_url=https://www.curseforge.com/minecraft/mc-mods/flopper -update_json_url=https://raw.githubusercontent.com/CyclopsMC/Versions/master/forge_update/flopper.json description=The Flopper is an early-game block to move around fluids, just like the Hopper does for items. release_type=release fingerprint=bd0353b3e8a2810d60dd584e256e364bc3bedd44 @@ -28,10 +27,12 @@ fabric_loader_version=0.15.11 # NeoForge neoforge_version=21.0.43-beta neoforge_loader_version_range=[4,) +neoforge_update_json_url=https://raw.githubusercontent.com/CyclopsMC/Versions/master/neoforge_update/flopper.json # Forge forge_version=51.0.21 forge_loader_version_range=[2,) +forge_update_json_url=https://raw.githubusercontent.com/CyclopsMC/Versions/master/forge_update/flopper.json # Gradle org.gradle.jvmargs=-Xmx3G diff --git a/loader-forge/src/main/resources/META-INF/mods.toml b/loader-forge/src/main/resources/META-INF/mods.toml index f8d9c1a..c682afc 100644 --- a/loader-forge/src/main/resources/META-INF/mods.toml +++ b/loader-forge/src/main/resources/META-INF/mods.toml @@ -9,7 +9,7 @@ authors="${mod_author}" modId="${mod_id}" version="${mod_version}" displayName="${mod_name}" -updateJSONURL="${update_json_url}" +updateJSONURL="${forge_update_json_url}" description="${description}" [[dependencies.${mod_id}]] modId="cyclopscore" diff --git a/loader-neoforge/src/main/resources/META-INF/neoforge.mods.toml b/loader-neoforge/src/main/resources/META-INF/neoforge.mods.toml index 2ba6540..ce775fe 100644 --- a/loader-neoforge/src/main/resources/META-INF/neoforge.mods.toml +++ b/loader-neoforge/src/main/resources/META-INF/neoforge.mods.toml @@ -9,7 +9,7 @@ authors="${mod_author}" modId="${mod_id}" version="${mod_version}" displayName="${mod_name}" -updateJSONURL="${update_json_url}" +updateJSONURL="${neoforge_update_json_url}" description="${description}" [[dependencies.${mod_id}]] modId="cyclopscore"