Skip to content

Commit 27b0c16

Browse files
authored
build: refresh dependencies and update Paper 1.21.11 test target (#106)
1 parent ffc3b65 commit 27b0c16

5 files changed

Lines changed: 51 additions & 23 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ jobs:
2222
- name: Build with Gradle
2323
run: ./gradlew build
2424
- name: Upload a Build Artifact
25-
uses: actions/upload-artifact@v4.3.6
25+
uses: actions/upload-artifact@v4.6.0
2626
with:
27-
path: build/libs/**.jar
27+
path: build/libs/**.jar

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Build with Gradle
2222
run: ./gradlew build
2323
- name: Upload a Build Artifact
24-
uses: actions/upload-artifact@v4.3.6
24+
uses: actions/upload-artifact@v4.6.0
2525
with:
2626
path: build/libs/**.jar
2727
- name: Generating Changelog
@@ -43,4 +43,4 @@ jobs:
4343
run: ./gradlew publishAllPublicationsToHangar
4444
env:
4545
HANGAR_CHANGELOG: ${{ steps.changelog.outputs.changelog }}
46-
HANGAR_TOKEN: ${{ secrets.HANGAR_TOKEN }}
46+
HANGAR_TOKEN: ${{ secrets.HANGAR_TOKEN }}

build.gradle.kts

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,34 @@ tasks {
8989
}
9090
}
9191
runServer {
92-
minecraftVersion("1.20.4")
92+
minecraftVersion("1.21.11")
9393
}
9494
}
9595

9696
tasks.getByName("modrinth").dependsOn(tasks.modrinthSyncBody)
9797

98-
val versions = listOf("1.19.4", "1.20", "1.20.1", "1.20.2", "1.20.3", "1.20.4", "1.20.5", "1.20.6", "1.21", "1.21.1", "1.21.2", "1.21.3");
98+
val versions = listOf(
99+
"1.19.4",
100+
"1.20",
101+
"1.20.1",
102+
"1.20.2",
103+
"1.20.3",
104+
"1.20.4",
105+
"1.20.5",
106+
"1.20.6",
107+
"1.21",
108+
"1.21.1",
109+
"1.21.2",
110+
"1.21.3",
111+
"1.21.4",
112+
"1.21.5",
113+
"1.21.6",
114+
"1.21.7",
115+
"1.21.8",
116+
"1.21.9",
117+
"1.21.10",
118+
"1.21.11"
119+
)
99120

100121
modrinth {
101122
token.set(System.getenv("MODRINTH_TOKEN"))
@@ -179,4 +200,4 @@ paper {
179200
}
180201
}
181202
generateLibrariesJson = true
182-
}
203+
}

gradle/libs.versions.toml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
[versions]
22
minecraft = "1.20.4-R0.1-SNAPSHOT"
3-
adventure = "4.3.4"
4-
minimessage = "4.17.0"
3+
adventure = "4.4.1"
4+
minimessage = "4.26.1"
55
[plugins]
6-
userdev = { id = "io.papermc.paperweight.userdev", version = "1.7.4" }
6+
userdev = { id = "io.papermc.paperweight.userdev", version = "1.7.7" }
77
runpaper = { id = "xyz.jpenilla.run-paper", version = "2.3.1" }
8-
shadow = { id = "com.gradleup.shadow", version = "8.3.3" }
9-
lombok = { id = "io.freefair.lombok", version = "8.10.2" }
10-
hangar = { id = "io.papermc.hangar-publish-plugin", version = "0.1.2" }
11-
minotaur = { id = "com.modrinth.minotaur", version = "2.8.7" }
8+
shadow = { id = "com.gradleup.shadow", version = "8.3.5" }
9+
lombok = { id = "io.freefair.lombok", version = "9.2.0" }
10+
hangar = { id = "io.papermc.hangar-publish-plugin", version = "0.1.4" }
11+
minotaur = { id = "com.modrinth.minotaur", version = "2.8.10" }
1212
paperyml = { id = "net.minecrell.plugin-yml.paper", version = "0.6.0" }
1313
pluginyml = { id = "net.minecrell.plugin-yml.bukkit", version = "0.6.0" }
1414
[libraries]
1515
spigot = { module = "org.spigotmc:spigot-api", version = "1.20.4-R0.1-SNAPSHOT" }
1616
paper = { module = "io.papermc.paper:paper-api", version = "1.20.4-R0.1-SNAPSHOT" }
1717

18-
annotations = { module = "org.jetbrains:annotations", version = "26.0.1" }
19-
jedis = { module = "redis.clients:jedis", version = "5.1.5" }
18+
annotations = { module = "org.jetbrains:annotations", version = "26.1.0" }
19+
jedis = { module = "redis.clients:jedis", version = "7.3.0" }
2020
miniplaceholders = { module = "io.github.miniplaceholders:miniplaceholders-api", version = "2.2.3" }
2121
commandframework = { module = "cloud.commandframework:cloud-paper", version = "1.8.4" }
22-
configlib = { module = "de.exlll:configlib-yaml", version = "4.5.0" }
22+
configlib = { module = "de.exlll:configlib-yaml", version = "4.8.1" }
2323
guice = { module = "com.google.inject:guice", version = "7.0.0" }
24-
luckperms = { module = "net.luckperms:api", version = "5.4" }
25-
bstats = { module = "org.bstats:bstats-bukkit", version = "3.1.0" }
26-
hikaridb = { module = "com.zaxxer:HikariCP", version = "6.0.0" }
27-
placeholderapi = { module = "me.clip:placeholderapi", version = "2.11.6" }
24+
luckperms = { module = "net.luckperms:api", version = "5.5" }
25+
bstats = { module = "org.bstats:bstats-bukkit", version = "3.2.1" }
26+
hikaridb = { module = "com.zaxxer:HikariCP", version = "7.0.2" }
27+
placeholderapi = { module = "me.clip:placeholderapi", version = "2.12.2" }
2828
stringsimilarity = { module = "net.ricecode:string-similarity", version = "1.0.0" }
2929
ultrapermissions = { module = "me.TechsCode:UltraPermissionsAPI", version = "5.5.2" }
3030

@@ -41,4 +41,4 @@ adventure = [
4141
"adventure-text-serializer-plain",
4242
"adventure-text-serializer-gson",
4343
"adventure-text-serializer-legacy"
44-
]
44+
]

paper/build.gradle.kts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,11 @@ repositories {
1010
dependencies {
1111
compileOnly(libs.paper)
1212
compileOnly(libs.guice)
13-
}
13+
}
14+
15+
tasks {
16+
compileJava {
17+
options.release.set(17)
18+
options.encoding = Charsets.UTF_8.name()
19+
}
20+
}

0 commit comments

Comments
 (0)