Skip to content

Commit

Permalink
Merge pull request #178 from GalaxyGamingBoy/master
Browse files Browse the repository at this point in the history
Migrate HCCore to 1.21
  • Loading branch information
polypixeldev committed Sep 7, 2024
2 parents d553cc1 + afe5c35 commit 77e887a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ group = "com.hackclub.hccore"
description = "Main plugin for the Hack Club Minecraft server."

java {
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
}

dependencies {
Expand All @@ -25,8 +25,8 @@ dependencies {
implementation("org.apache.commons:commons-collections4:4.4")

compileOnly("com.frengor:ultimateadvancementapi:2.2.3")
compileOnly("com.comphenix.protocol:ProtocolLib:5.0.0-SNAPSHOT")
compileOnly("io.papermc.paper:paper-api:1.20.1-R0.1-SNAPSHOT")
compileOnly("com.comphenix.protocol:ProtocolLib:5.1.0")
compileOnly("io.papermc.paper:paper-api:1.21.1-R0.1-SNAPSHOT")
compileOnly("com.mojang:brigadier:1.0.18")
}

Expand All @@ -38,7 +38,7 @@ tasks {

compileJava {
options.encoding = Charsets.UTF_8.name()
options.release.set(17)
options.release.set(21)
// show deprecation warnings: paper deprecated lots of pure string functions for chat components
// options.isDeprecation = true
}
Expand All @@ -59,7 +59,7 @@ tasks {


runServer {
minecraftVersion("1.19.4")
minecraftVersion("1.21")
systemProperty("net.kyori.adventure.text.warnWhenLegacyFormattingDetected", false)
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ${name}
version: ${version}
api-version: 1.20
api-version: 1.21
main: com.hackclub.hccore.HCCorePlugin
depend:
- UltimateAdvancementAPI
Expand Down

0 comments on commit 77e887a

Please sign in to comment.