forked from AnyLifeZLB/FaceSearchSDK_Android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
30 lines (21 loc) · 853 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
plugins {
id 'com.android.application' version '7.3.1' apply false
id 'com.android.library' version '7.3.1' apply false
id 'org.jetbrains.kotlin.android' version '1.7.20' apply false
id("com.google.devtools.ksp") version "1.8.10-1.0.9" apply false
}
task clean(type: Delete) {
delete rootProject.buildDir
}
////如果和你的项目中Kotlin 依赖不一致。 强制统一项目中的Kotlin 版本依赖
//ConfigurationContainer container = project.configurations
//container.all { Configuration conf ->
// ResolutionStrategy rs = conf.resolutionStrategy
// rs.eachDependency { details ->
// def requested = details.requested
// if (requested.group == "org.jetbrains.kotlin") {
// //统一内部 kotlin 库的版本
// details.useVersion("$kotlin_version")
// }
// }
//}