Skip to content

Commit

Permalink
修改 Kotlin 编译目标
Browse files Browse the repository at this point in the history
  • Loading branch information
IceCream-QAQ committed Aug 28, 2024
1 parent 8dcca49 commit 0cad366
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,18 @@ subprojects {
plugin("java")
plugin("java-library")
plugin("maven-publish")
plugin("org.jetbrains.kotlin.jvm")
}

java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

kotlin {
jvmToolchain(8)
}

dependencies {
api(kotlin("stdlib"))
api(kotlin("reflect"))
Expand Down

0 comments on commit 0cad366

Please sign in to comment.