Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion architectury/.mcdev.template.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": 2,
"version": 3,
"group": "mod",
"properties": [
{
Expand Down
4 changes: 2 additions & 2 deletions bukkit/build.gradle.kts.ft
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion bukkit/libs.versions.toml.ft
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 13 additions & 1 deletion bukkit/paper.mcdev.template.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": 2,
"version": 3,
"group": "plugin",
"properties": [
{
Expand Down Expand Up @@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion bukkit/pom.xml.ft
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
<dependency>
<groupId>io.papermc.paper</groupId>
<artifactId>paper-api</artifactId>
<version>${MC_VERSION}-R0.1-SNAPSHOT</version>
<version>${DEPENDENCY_VERSION}</version>
<scope>provided</scope>
</dependency>
#end
Expand Down
4 changes: 3 additions & 1 deletion bukkit/spigot.mcdev.template.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": 2,
"version": 3,
"group": "plugin",
"properties": [
{
Expand Down Expand Up @@ -52,6 +52,8 @@
"type": "semantic_version",
"forceDropdown": true,
"options": [
"26.1.1",
"26.1",
"1.21.11",
"1.21.10",
"1.21.9",
Expand Down
2 changes: 1 addition & 1 deletion bungeecord/.mcdev.template.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": 2,
"version": 3,
"group": "proxy",
"properties": [
{
Expand Down
2 changes: 1 addition & 1 deletion fabric/.mcdev.template.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": 2,
"version": 3,
"group": "mod",
"properties": [
{
Expand Down
2 changes: 1 addition & 1 deletion forge/.mcdev.template.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": 2,
"version": 3,
"group": "mod",
"properties": [
{
Expand Down
2 changes: 1 addition & 1 deletion multiloader/.mcdev.template.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": 2,
"version": 3,
"group": "mod",
"properties": [
{
Expand Down
2 changes: 1 addition & 1 deletion neoforge/.mcdev.template.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": 2,
"version": 3,
"group": "mod",
"properties": [
{
Expand Down
2 changes: 1 addition & 1 deletion sponge/.mcdev.template.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": 2,
"version": 3,
"group": "plugin",
"properties": [
{
Expand Down
2 changes: 1 addition & 1 deletion velocity/.mcdev.template.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": 2,
"version": 3,
"group": "proxy",
"properties": [
{
Expand Down