Skip to content

Commit

Permalink
Merge pull request #763 from simple-robot/disable-k2
Browse files Browse the repository at this point in the history
暂时关闭 K2 编译,等待 Kt2.0正式版
  • Loading branch information
ForteScarlet committed Jan 27, 2024
2 parents 6efeeff + b173193 commit b5b5346
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 b5b5346

Please sign in to comment.