-
Notifications
You must be signed in to change notification settings - Fork 761
/
build.gradle
36 lines (28 loc) · 925 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
apply plugin: 'com.android.library'
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
compileOptions {
sourceCompatibility rootProject.ext.sourceCompatibilityVersion
targetCompatibility rootProject.ext.targetCompatibilityVersion
}
dexOptions {
preDexLibraries = !rootProject.ext.isCi
}
defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
}
}
dependencies {
testImplementation dep.junit
testImplementation dep.mockito
testImplementation dep.assertj
testImplementation dep.robolectric
testImplementation project(':okdownload')
implementation dep.supportAnnotations
compileOnly project(':okdownload')
}
apply from: rootProject.file('gradle/gradle-mvn-push.gradle')
if (hasProperty("isCI")) {
apply from: rootProject.file('gradle/codecov.gradle')
}