-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.gradle
65 lines (54 loc) · 1.73 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
57
58
59
60
61
62
63
64
65
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
classpath 'com.dicedmelon.gradle:jacoco-android:0.1.1'
}
}
allprojects {
repositories {
jcenter()
}
}
apply plugin: 'com.android.library'
apply plugin: 'jacoco-android'
android {
compileSdkVersion COMPILE_SDK_VERSION as int
buildToolsVersion BUILD_TOOLS_VERSION as String
defaultConfig {
minSdkVersion MIN_SDK_VERSION as int
targetSdkVersion COMPILE_SDK_VERSION as int
versionCode VERSION_CODE as int
versionName VERSION_NAME as String
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src/main/java']
}
test {
java.srcDir 'src/test/java'
}
}
lintOptions {
// This seems to be firing due to okio referencing java.nio.File
// which is harmless for us.
warning 'InvalidPackage'
}
}
dependencies {
implementation 'com.liulishuo.filedownloader:library:1.7.0'
implementation 'com.squareup.okhttp3:okhttp:3.9.1'
testCompile "junit:junit:4.4"
testCompile "org.mockito:mockito-core:1.10.19"
testCompile "org.assertj:assertj-core:1.7.0"
testCompile "org.powermock:powermock-module-junit4:1.6.6"
testCompile "org.powermock:powermock-api-mockito:1.6.6"
}
apply from: 'https://raw.githubusercontent.com/Jacksgong/JCenter/master/installv1.gradle'
apply from: 'https://raw.githubusercontent.com/Jacksgong/JCenter/master/bintrayv1.gradle'