-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathbuild.gradle
54 lines (45 loc) · 1.26 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
plugins {
alias libs.plugins.android.library
}
android {
namespace 'com.growingio.android.ads'
compileSdk libs.getVersions().getCompileSdk().get().toInteger()
defaultConfig {
minSdk libs.getVersions().getMinSdk().get().toInteger()
versionName libs.versions.growingio.get()
versionCode libs.versions.growingioCode.get().toInteger()
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
consumerProguardFiles 'consumer-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
testOptions {
unitTests.all {
jacoco {
jvmArgs '-noverify'
includeNoLocationClasses = true
excludes = ['jdk.internal.*']
}
}
unitTests {
returnDefaultValues = true
includeAndroidResources = true
}
}
}
dependencies {
testImplementation libs.bundles.test
testImplementation libs.androidx.test.core
implementation project(':growingio-tracker-core')
implementation project(":growingio-annotation")
annotationProcessor project(":growingio-annotation:compiler")
}
apply from: "${rootProject.projectDir}/gradle/publishMaven.gradle"
apply from: "${rootProject.projectDir}/gradle/jacocoModule.gradle"