-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
55 lines (47 loc) · 1.48 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
// common in all sub-projects
subprojects {
}
ext {
// Android config.
coreMinSdkVersion = 9
coreCompileSdkVersion = 34
coreTargetSdkVersion = 34
coreVersionName = '2.6.0'
defaultVersionCode = 1
webbridgeMinSdkVersion = 17
samsungReferrerMinSdkVersion = 18
vivoReferrerMinSdkVersion = 23
// POM.
adtraceGroupId = 'io.adtrace'
coreSdkArtifactId = 'android-sdk'
imeiSdkArtifactId = 'android-sdk-plugin-imei'
oaidSdkArtifactId = 'android-sdk-plugin-oaid'
webbridgeSdkArtifactId = 'android-sdk-plugin-webbridge'
samsungReferrerSdkArtifactId = 'android-sdk-plugin-samsung'
vivoReferrerSdkArtifactId = 'android-sdk-plugin-vivo'
xiaomiReferrerSdkArtifactId = 'android-sdk-plugin-xiaomi'
}
buildscript {
ext.kotlin_version = '1.7.10'
repositories {
mavenCentral()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.1.4'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files.
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" }
}
allprojects {
repositories {
mavenCentral()
google()
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
}