Skip to content

Commit 7b7f064

Browse files
committed
fix(kotlin):Remove Kotlin version configuration from gradle.properties
1 parent 9577bd6 commit 7b7f064

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

android/build.gradle

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
buildscript {
22
ext{
3-
kotlin_version = '1.9.21'
3+
kotlin_version = '1.8.0'
44
agp_version = '8.1.4'
55
room_version = '2.6.1'
66
ksp_version = '1.9.21-1.0.16'
@@ -27,11 +27,6 @@ allprojects {
2727
}
2828
}
2929

30-
rootProject.buildDir = '../build'
31-
subprojects {
32-
project.buildDir = "${rootProject.buildDir}/${project.name}"
33-
}
34-
3530
subprojects {
3631
project.evaluationDependsOn(':app')
3732
}

android/gradle.properties

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
11
org.gradle.jvmargs=-Xmx4G
22
android.useAndroidX=true
33
android.enableJetifier=true
4-
5-
# 强制使用正确的 Kotlin 版本
6-
kotlin.version=1.9.21
7-
# 禁用 Kotlin 编译器缓存以避免版本冲突
8-
kotlin.compiler.execution.strategy=in-process

0 commit comments

Comments
 (0)