Skip to content

Commit f63fe2f

Browse files
committed
1 parent 26e5037 commit f63fe2f

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

app/build.gradle.kts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,6 @@ android {
6262
targetCompatibility = JavaVersion.VERSION_17
6363
}
6464

65-
kotlinOptions {
66-
jvmTarget = JavaVersion.VERSION_17.toString()
67-
}
68-
6965
// 修改APK文件名
7066
applicationVariants.all {
7167
outputs.all {
@@ -75,6 +71,13 @@ android {
7571
}
7672
}
7773
}
74+
75+
kotlin {
76+
compilerOptions {
77+
jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17
78+
}
79+
}
80+
7881
dependencies {
7982
//implementation(libs.androidx.core.ktx)
8083
compileOnly(project(":api"))

0 commit comments

Comments
 (0)