@@ -15,7 +15,7 @@ val buildNum = System.getenv("GITHUB_RUN_NUMBER") ?: "SNAPSHOT"
1515
1616group = " xyz.galaxyy.lualink"
1717
18- version = " 1.20 .4-$buildNum "
18+ version = " 1.21 .4-$buildNum "
1919
2020repositories {
2121 mavenCentral()
@@ -32,7 +32,7 @@ dependencies {
3232 testImplementation(kotlin(" test" ))
3333 library(kotlin(" stdlib" ))
3434 api(kotlin(" stdlib" ))
35- compileOnly(" org.purpurmc.purpur:purpur-api:1.20.1 -R0.1-SNAPSHOT" )
35+ compileOnly(" org.purpurmc.purpur:purpur-api:1.21 -R0.1-SNAPSHOT" )
3636 library(" com.github.only52607.luakt:luakt:$luaKTVersion " )
3737 library(" com.github.only52607.luakt:luakt-core:$luaKTVersion " )
3838 library(" com.github.only52607.luakt:luakt-extension:$luaKTVersion " )
@@ -65,7 +65,7 @@ modrinth {
6565 versionNumber.set(version.toString())
6666 versionType.set(" release" )
6767 uploadFile.set(tasks.jar.get())
68- gameVersions.addAll(" 1.20.1" , " 1.20.2" , " 1.20.3" , " 1.20.4" )
68+ gameVersions.addAll(" 1.20.1" , " 1.20.2" , " 1.20.3" , " 1.20.4" , " 1.21.4 " )
6969 loaders.addAll(" paper" , " purpur" )
7070 changelog.set(System .getenv(" GIT_COMMIT_MESSAGE" ))
7171}
@@ -82,7 +82,7 @@ hangarPublish {
8282 platforms {
8383 register(Platforms .PAPER ) {
8484 jar.set(tasks.jar.flatMap { it.archiveFile })
85- platformVersions.set(listOf (" 1.20.1" , " 1.20.2" , " 1.20.3" , " 1.20.4" ))
85+ platformVersions.set(listOf (" 1.20.1" , " 1.20.2" , " 1.20.3" , " 1.20.4" , " 1.21.4 " ))
8686 }
8787 }
8888 }
@@ -130,13 +130,13 @@ publishing {
130130tasks.test { useJUnitPlatform() }
131131
132132tasks.withType<KotlinCompile > {
133- kotlinOptions.jvmTarget = " 17 "
133+ kotlinOptions.jvmTarget = " 21 "
134134 kotlinOptions.javaParameters = true
135135}
136136
137137kotlin {
138138 jvmToolchain {
139- languageVersion.set(JavaLanguageVersion .of(17 ))
139+ languageVersion.set(JavaLanguageVersion .of(21 ))
140140 }
141141}
142142
0 commit comments