an attempt on updating to 1.20.6

This commit is contained in:
2024-04-30 16:37:43 +02:00
parent 9ff6223829
commit e1e40b96ea
3 changed files with 8 additions and 11 deletions
+6 -10
View File
@@ -1,16 +1,15 @@
plugins { plugins {
`java-library` `java-library`
id("io.papermc.paperweight.userdev") version "1.5.5" id("io.papermc.paperweight.userdev") version "1.6.3"
id("xyz.jpenilla.run-paper") version "2.1.0" // Adds runServer and runMojangMappedServer tasks for testing id("xyz.jpenilla.run-paper") version "2.2.4" // Adds runServer and runMojangMappedServer tasks for testing
} }
group = "me.youhavetrouble" group = "me.youhavetrouble"
version = "1.6.0" version = "1.7.0"
description = "Nameplates using display entities" description = "Nameplates using display entities"
java { java {
// Configure the java toolchain. This allows gradle to auto-provision JDK 17 on systems that only have JDK 8 installed for example. toolchain.languageVersion.set(JavaLanguageVersion.of(21))
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
} }
repositories { repositories {
@@ -20,20 +19,17 @@ repositories {
} }
dependencies { dependencies {
paperweight.paperDevBundle("1.20.4-R0.1-SNAPSHOT", "org.purpurmc.purpur") paperweight.devBundle("org.purpurmc","1.20.6-R0.1-SNAPSHOT")
compileOnly("me.clip:placeholderapi:2.11.3") compileOnly("me.clip:placeholderapi:2.11.3")
compileOnly("com.github.LeonMangler:SuperVanish:6.2.17") compileOnly("com.github.LeonMangler:SuperVanish:6.2.17")
compileOnly("com.github.mbax:VanishNoPacket:3.22") compileOnly("com.github.mbax:VanishNoPacket:3.22")
} }
tasks { tasks {
assemble {
dependsOn(reobfJar)
}
compileJava { compileJava {
options.encoding = Charsets.UTF_8.name() options.encoding = Charsets.UTF_8.name()
options.release.set(17) options.release.set(21)
} }
javadoc { javadoc {
options.encoding = Charsets.UTF_8.name() options.encoding = Charsets.UTF_8.name()
Binary file not shown.
+2 -1
View File
@@ -1,6 +1,7 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
networkTimeout=10000 networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists