diff --git a/architectury/.mcdev.template.json b/architectury/.mcdev.template.json index 9f649a8..5784cec 100644 --- a/architectury/.mcdev.template.json +++ b/architectury/.mcdev.template.json @@ -1,5 +1,5 @@ { - "version": 2, + "version": 3, "group": "mod", "properties": [ { diff --git a/bukkit/build.gradle.kts.ft b/bukkit/build.gradle.kts.ft index 1dfba69..5c2d431 100644 --- a/bukkit/build.gradle.kts.ft +++ b/bukkit/build.gradle.kts.ft @@ -68,11 +68,11 @@ dependencies { #elseif ($IS_SPIGOT && $USE_VERSION_CATALOG) compileOnly(libs.spigot.api) #elseif ($IS_PAPER && !$PAPERWEIGHT_USERDEV_PLUGIN.enabled && !$USE_VERSION_CATALOG) - compileOnly("io.papermc.paper:paper-api:${MC_VERSION}-R0.1-SNAPSHOT") + compileOnly("io.papermc.paper:paper-api:${DEPENDENCY_VERSION}") #elseif ($IS_PAPER && !$PAPERWEIGHT_USERDEV_PLUGIN.enabled && $USE_VERSION_CATALOG) compileOnly(libs.paper.api) #elseif ($IS_PAPER && $PAPERWEIGHT_USERDEV_PLUGIN.enabled && !$USE_VERSION_CATALOG) - paperweight.paperDevBundle("${MC_VERSION}-R0.1-SNAPSHOT") + paperweight.paperDevBundle("${DEPENDENCY_VERSION}") #elseif ($IS_PAPER && $PAPERWEIGHT_USERDEV_PLUGIN.enabled && $USE_VERSION_CATALOG) paperweight.paperDevBundle(libs.versions.paper.api.get()) #end diff --git a/bukkit/libs.versions.toml.ft b/bukkit/libs.versions.toml.ft index 85873bf..58f4bf6 100644 --- a/bukkit/libs.versions.toml.ft +++ b/bukkit/libs.versions.toml.ft @@ -4,7 +4,7 @@ kotlin = "$KOTLIN_VERSION" #end #if ($IS_PAPER) -paper-api = "${MC_VERSION}-R0.1-SNAPSHOT" +paper-api = "${DEPENDENCY_VERSION}" #elseif ($IS_SPIGOT) spigot-api = "${MC_VERSION}-R0.1-SNAPSHOT" #end diff --git a/bukkit/paper.mcdev.template.json b/bukkit/paper.mcdev.template.json index b28837d..c3d3be4 100644 --- a/bukkit/paper.mcdev.template.json +++ b/bukkit/paper.mcdev.template.json @@ -1,5 +1,5 @@ { - "version": 2, + "version": 3, "group": "plugin", "properties": [ { @@ -288,6 +288,18 @@ "type": "boolean", "visible": false, "default": true + }, + { + "name": "DEPENDENCY_VERSION", + "type": "string", + "derives": { + "parents": [ + "MC_VERSION", + "BUILD_SYSTEM" + ], + "method": "fetchPaperDependencyVersionForMcVersion" + }, + "visible": false } ], "files": [ diff --git a/bukkit/pom.xml.ft b/bukkit/pom.xml.ft index 5373d0b..8fda356 100644 --- a/bukkit/pom.xml.ft +++ b/bukkit/pom.xml.ft @@ -102,7 +102,7 @@ io.papermc.paper paper-api - ${MC_VERSION}-R0.1-SNAPSHOT + ${DEPENDENCY_VERSION} provided #end diff --git a/bukkit/spigot.mcdev.template.json b/bukkit/spigot.mcdev.template.json index e991850..371365b 100644 --- a/bukkit/spigot.mcdev.template.json +++ b/bukkit/spigot.mcdev.template.json @@ -1,5 +1,5 @@ { - "version": 2, + "version": 3, "group": "plugin", "properties": [ { @@ -52,6 +52,8 @@ "type": "semantic_version", "forceDropdown": true, "options": [ + "26.1.1", + "26.1", "1.21.11", "1.21.10", "1.21.9", diff --git a/bungeecord/.mcdev.template.json b/bungeecord/.mcdev.template.json index 48d6b23..c758ba2 100644 --- a/bungeecord/.mcdev.template.json +++ b/bungeecord/.mcdev.template.json @@ -1,5 +1,5 @@ { - "version": 2, + "version": 3, "group": "proxy", "properties": [ { diff --git a/fabric/.mcdev.template.json b/fabric/.mcdev.template.json index 32b1511..7bb1415 100644 --- a/fabric/.mcdev.template.json +++ b/fabric/.mcdev.template.json @@ -1,5 +1,5 @@ { - "version": 2, + "version": 3, "group": "mod", "properties": [ { diff --git a/forge/.mcdev.template.json b/forge/.mcdev.template.json index d30c952..f58215d 100644 --- a/forge/.mcdev.template.json +++ b/forge/.mcdev.template.json @@ -1,5 +1,5 @@ { - "version": 2, + "version": 3, "group": "mod", "properties": [ { diff --git a/multiloader/.mcdev.template.json b/multiloader/.mcdev.template.json index be1d1b4..8e56fa2 100644 --- a/multiloader/.mcdev.template.json +++ b/multiloader/.mcdev.template.json @@ -1,5 +1,5 @@ { - "version": 2, + "version": 3, "group": "mod", "properties": [ { diff --git a/neoforge/.mcdev.template.json b/neoforge/.mcdev.template.json index 9623974..0cfeda9 100644 --- a/neoforge/.mcdev.template.json +++ b/neoforge/.mcdev.template.json @@ -1,5 +1,5 @@ { - "version": 2, + "version": 3, "group": "mod", "properties": [ { diff --git a/sponge/.mcdev.template.json b/sponge/.mcdev.template.json index f3495a0..1c11eb3 100644 --- a/sponge/.mcdev.template.json +++ b/sponge/.mcdev.template.json @@ -1,5 +1,5 @@ { - "version": 2, + "version": 3, "group": "plugin", "properties": [ { diff --git a/velocity/.mcdev.template.json b/velocity/.mcdev.template.json index 2c0749c..e040c7d 100644 --- a/velocity/.mcdev.template.json +++ b/velocity/.mcdev.template.json @@ -1,5 +1,5 @@ { - "version": 2, + "version": 3, "group": "proxy", "properties": [ {