build: Bump dependencies for 1.18

This commit is contained in:
NotMyFault 2021-12-18 23:10:41 +01:00
parent 958aac3cb1
commit 7002df0bc7
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C
3 changed files with 16 additions and 8 deletions

View File

@ -72,10 +72,18 @@ allprojects {
plugins.withId("java") { plugins.withId("java") {
the<JavaPluginExtension>().toolchain { the<JavaPluginExtension>().toolchain {
languageVersion.set(JavaLanguageVersion.of(16)) languageVersion.set(JavaLanguageVersion.of(17))
} }
} }
tasks.compileJava.configure {
options.release.set(16)
}
configurations.all {
attributes.attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 17)
}
configure<LicenseExtension> { configure<LicenseExtension> {
header(rootProject.file("HEADER.txt")) header(rootProject.file("HEADER.txt"))
include("**/*.java") include("**/*.java")

View File

@ -1,15 +1,15 @@
[versions] [versions]
# Minecraft expectations # Minecraft expectations
gson = "2.8.0" # Version set by Minecraft gson = "2.8.9" # Version set by Minecraft
log4j-api = "2.16.0" # Version set by Minecraft log4j-api = "2.17.0" # Version set by Minecraft
guava = "21.0" # Version set by Minecraft guava = "31.0.1-jre" # Version set by Minecraft
# Platform expectations # Platform expectations
paper = "1.17.1-R0.1-SNAPSHOT" paper = "1.18.1-R0.1-SNAPSHOT"
checker-qual = "3.20.0" checker-qual = "3.20.0"
guice = "5.0.1" guice = "5.0.1"
findbugs = "3.0.1" findbugs = "3.0.1"
snakeyaml = "1.28" # Version set by Bukkit snakeyaml = "1.30" # Version set by Bukkit
# Adventure & MiniMessage # Adventure & MiniMessage
adventure-api = "4.9.3" adventure-api = "4.9.3"
@ -39,7 +39,7 @@ serverlib = "2.3.1"
http4j = "1.3" http4j = "1.3"
# Gradle plugins # Gradle plugins
shadow = "7.1.0" shadow = "7.1.1"
grgit = "4.1.1" grgit = "4.1.1"
licenser = "0.6.1" licenser = "0.6.1"
nexus = "1.1.0" nexus = "1.1.0"

View File

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.1-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.2-bin.zip
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists