Skip to content

Commit

Permalink
build: 暂时关闭 K2 编译,等待 Kt2.0正式版
Browse files Browse the repository at this point in the history
  • Loading branch information
ForteScarlet committed Jan 27, 2024
1 parent 8cb8ad5 commit b173193
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion buildSrc/src/main/kotlin/K2Config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ fun Project.useK2(languageVersion: String = "2.0") {
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
// useK2
this.languageVersion = languageVersion
// TODO 暂时关闭,等待 Kt2.0
// this.languageVersion = languageVersion
}
}
}

0 comments on commit b173193

Please sign in to comment.