forked from Blankj/AndroidUtilCode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
40 lines (34 loc) · 1.11 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
apply plugin: 'com.android.library'
apply from: 'readme.gradle'
android {
compileSdkVersion compile_sdk_version
defaultConfig {
minSdkVersion min_sdk_version
versionCode version_code
versionName version_name
}
buildTypes {
release {
minifyEnabled true
consumerProguardFiles 'proguard-rules.pro'
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
abortOnError false
}
testOptions.unitTests.all {
testLogging {
events 'passed', 'skipped', 'failed', 'standardOut', 'standardError'
}
}
}
dependencies {
compileOnly "com.android.support:appcompat-v7:$support_version"
compileOnly "com.android.support:design:$support_version"
testImplementation "junit:junit:$junit_version"
testImplementation "org.robolectric:robolectric:$robolectric_version"
testImplementation "com.android.support:support-v4:$support_version"
}
apply from: "../bintrayUpload.gradle"
//gradle bintrayUpload