From b173193970fe08c5c32321e194ffa1ac88082194 Mon Sep 17 00:00:00 2001 From: ForteScarlet Date: Sat, 27 Jan 2024 16:12:13 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E6=9A=82=E6=97=B6=E5=85=B3=E9=97=AD?= =?UTF-8?q?=20K2=20=E7=BC=96=E8=AF=91=EF=BC=8C=E7=AD=89=E5=BE=85=20Kt2.0?= =?UTF-8?q?=E6=AD=A3=E5=BC=8F=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buildSrc/src/main/kotlin/K2Config.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/K2Config.kt b/buildSrc/src/main/kotlin/K2Config.kt index 5bb81f565..5bbc90f9a 100644 --- a/buildSrc/src/main/kotlin/K2Config.kt +++ b/buildSrc/src/main/kotlin/K2Config.kt @@ -29,7 +29,8 @@ fun Project.useK2(languageVersion: String = "2.0") { tasks.withType { kotlinOptions { // useK2 - this.languageVersion = languageVersion + // TODO 暂时关闭,等待 Kt2.0 + // this.languageVersion = languageVersion } } }