-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
49 lines (42 loc) · 920 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
buildscript {
ext {
mavenUrl = "http://mvn.mob.com/android"
}
repositories {
maven {
url mavenUrl
}
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
google()
mavenCentral()
// huawei maven
maven { url 'https://developer.huawei.com/repo/' }
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.1'
classpath "com.mob.sdk:MobSDK2:+"
}
configurations.all {
resolutionStrategy.cacheDynamicVersionsFor 0, 'seconds'
}
}
allprojects {
repositories {
maven {
url mavenUrl
}
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
google()
mavenCentral()
// huawei maven
maven { url 'http://developer.huawei.com/repo/' }
}
}
ext {
compileSdkVersion = 31
buildToolsVersion = "29.0.3"
minSdkVersion = 19
targetSdkVersion = 31
SOURCE_COMPATIBILITY = JavaVersion.VERSION_1_8
TARGET_COMPATIBILITY = JavaVersion.VERSION_1_8
}