-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathbuild.gradle
56 lines (48 loc) · 1.99 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
kotlin_version = '1.8.20'
hilt_version = '2.50'
sdk_version = '5.17.0'
ipc_sdk_version = '5.17.2'
biz_bom_version = "5.17.3"
applicationId = "com.sample.sdk"
}
repositories {
mavenLocal()
maven { url "https://maven-other.tuya.com/repository/maven-commercial-releases/" }
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
classpath "com.thingclips.smart:thingsmart-theme-open-plugin:2.0.5"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
}
}
allprojects {
repositories {
maven { url "https://maven-other.tuya.com/repository/maven-commercial-releases/" }
google()
mavenCentral()
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://jitpack.io" }
maven { url 'https://developer.huawei.com/repo/' }
}
configurations.all {
resolutionStrategy.force 'com.google.code.findbugs:jsr305:1.3.9'
resolutionStrategy.force 'com.squareup.okhttp3:okhttp-jvm:5.0.0-alpha.11'
resolutionStrategy.force 'com.squareup.okhttp3:okhttp-java-net-cookiejar:5.0.0-alpha.11'
resolutionStrategy.force 'com.squareup.okhttp3:okhttp-urlconnection:5.0.0-alpha.11'
resolutionStrategy.force 'com.squareup.okio:okio-jvm:3.2.0'
resolutionStrategy.force 'org.jetbrains.kotlin:kotlin-stdlib:1.8.20'
exclude group: "com.umeng.umsdk", module: 'huawei-basetb'
exclude group: 'commons-io', module: 'commons-io'
exclude group: 'org.apache.commons', module: 'commons-lang3'
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}