-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle
55 lines (44 loc) · 1.24 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
buildscript {
dependencies {
classpath rootProject.ext.androidPlugin
}
}
apply plugin: 'com.android.library'
apply from: rootProject.file('gradle/android-findbugs.gradle')
apply from: rootProject.file('gradle/checkstyle.gradle')
dependencies {
compile project(':rxbus')
compile rootProject.ext.rxAndroid
compile rootProject.ext.supportAnnotations
testCompile rootProject.ext.junit
testCompile rootProject.ext.mockito
}
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner'
}
compileOptions {
sourceCompatibility rootProject.ext.javaVersion
targetCompatibility rootProject.ext.javaVersion
}
dexOptions {
preDexLibraries = !rootProject.ext.ci
}
lintOptions {
textReport true
textOutput 'stdout'
disable 'InvalidPackage'
}
packagingOptions {
exclude 'LICENSE.txt'
}
buildTypes {
debug {
testCoverageEnabled true
}
}
}
apply from: rootProject.file('gradle/mvn-push.gradle')