Skip to content

Commit

Permalink
chore(build): resolve buildscript deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
zml2008 committed Jun 23, 2024
1 parent 7fb9c8d commit 5ce97a4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions extra-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion

plugins {
id("adventure.common-conventions")
alias(libs.plugins.kotlin)
Expand All @@ -6,13 +9,10 @@ plugins {
kotlin {
explicitApi()
coreLibrariesVersion = "1.4.32"
target {
compilations.configureEach {
kotlinOptions {
jvmTarget = "1.8"
languageVersion = "1.4"
}
}
compilerOptions {
jvmTarget = JvmTarget.JVM_1_8
@Suppress("DEPRECATION")
languageVersion = KotlinVersion.KOTLIN_1_4
}
}

Expand Down

0 comments on commit 5ce97a4

Please sign in to comment.