mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
build: Set kotlin jvm toolchain
This commit is contained in:
parent
22f52fc4e1
commit
0af0d84cf7
@ -30,3 +30,9 @@ dependencies {
|
|||||||
implementation("gradle.plugin.com.github.johnrengelman:shadow:7.1.0")
|
implementation("gradle.plugin.com.github.johnrengelman:shadow:7.1.0")
|
||||||
implementation("io.papermc.paperweight.userdev:io.papermc.paperweight.userdev.gradle.plugin:1.2.0")
|
implementation("io.papermc.paperweight.userdev:io.papermc.paperweight.userdev.gradle.plugin:1.2.0")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
kotlin {
|
||||||
|
jvmToolchain {
|
||||||
|
(this as JavaToolchainSpec).languageVersion.set(JavaLanguageVersion.of(17))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user