-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
68 lines (57 loc) · 1.7 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
66
67
68
apply plugin: 'com.android.library'
apply plugin: 'me.tatarka.retrolambda'
apply plugin: 'com.noveogroup.android.check'
android {
compileSdkVersion config.sdk.compile
buildToolsVersion config.sdk.tools
defaultConfig {
minSdkVersion config.sdk.min
targetSdkVersion config.sdk.target
versionCode config.build.code
versionName config.build.name
}
buildTypes {
debug {
debuggable true
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
abortOnError true
checkAllWarnings true
disable 'AllowBackup'
disable 'ContentDescription'
disable 'InvalidPackage'
disable 'SpUsage'
disable 'IconMissingDensityFolder'
disable 'SelectableText'
disable 'RtlCompat', 'RtlEnabled', 'RtlHardcoded', 'RtlSymmetry'
disable 'MissingPrefix'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
/* test dependencies */
testImplementation lib.junit
testImplementation lib.mockitoCore
/* Support */
implementation lib.supportAnnotations
/* Rx */
implementation lib.rxJava1
/* Logging */
implementation lib.slf4j
implementation project(':preferences')
}
check {
abortOnError true
checkstyle { config project.rootProject.file('config/checkstyle.xml').absolutePath }
pmd { config project.rootProject.file('config/pmd.xml').absolutePath }
findbugs { skip true }
}
apply from: rootProject.file('gradle/mvn-push.gradle')