Skip to content

Commit 2c6253c

Browse files
authored
Fix build (#6)
* Update build.gradle.kts * Update versions
1 parent 1009a80 commit 2c6253c

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

build.gradle.kts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
plugins {
22
`java-library`
33
`maven-publish`
4-
id("io.github.0ffz.github-packages") version "1.2.1"
5-
id("io.papermc.hangar-publish-plugin") version "0.1.2"
4+
id("io.github.apdevteam.github-packages") version "1.2.2"
5+
id("io.papermc.hangar-publish-plugin") version "0.1.3"
66
}
77

88
repositories {
@@ -16,15 +16,15 @@ repositories {
1616

1717
dependencies {
1818
api("org.jetbrains:annotations-java5:24.1.0")
19-
compileOnly("io.papermc.paper:paper-api:1.18.2-R0.1-SNAPSHOT")
19+
compileOnly("io.papermc.paper:paper-api:1.20.6-R0.1-SNAPSHOT")
2020
compileOnly("net.countercraft:movecraft:+")
2121
compileOnly("net.coreprotect:coreprotect:22.4")
2222
}
2323

2424
group = "net.countercraft.movecraft.coreprotect"
2525
version = "1.0.0_beta-1_gradle"
2626
description = "Movecraft-CoreProtect"
27-
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
27+
java.toolchain.languageVersion = JavaLanguageVersion.of(21)
2828

2929
tasks.jar {
3030
archiveBaseName.set("Movecraft-CoreProtect")
@@ -70,7 +70,7 @@ hangarPublish {
7070
platforms {
7171
register(io.papermc.hangarpublishplugin.model.Platforms.PAPER) {
7272
jar.set(tasks.jar.flatMap { it.archiveFile })
73-
platformVersions.set(listOf("1.18.2-1.21"))
73+
platformVersions.set(listOf("1.20.6-1.21.5"))
7474
dependencies {
7575
hangar("Movecraft") {
7676
required.set(true)

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)