forked from Blankj/AndroidUtilCode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
40 lines (34 loc) · 1.21 KB
/
build.gradle
File metadata and controls
40 lines (34 loc) · 1.21 KB
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'
android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
defaultConfig {
minSdkVersion 16
versionCode 20
versionName "1.4.0"
}
buildTypes {
debug {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
final SUPPORT_VERSION = '25.3.1'
final JUNIT_VERSION = '4.12'
final TRUTH_VERSION = '0.29'
final ROBOLECTRIC_VERSION = '3.1.2'
provided "com.android.support:appcompat-v7:$SUPPORT_VERSION"
provided "com.android.support:support-v4:$SUPPORT_VERSION"
provided "com.android.support:design:$SUPPORT_VERSION"
testCompile "junit:junit:$JUNIT_VERSION"
testCompile "com.google.truth:truth:$TRUTH_VERSION"
testCompile "org.robolectric:robolectric:$ROBOLECTRIC_VERSION"
}
//apply from: "https://raw.githubusercontent.com/xiaopansky/android-library-publish-to-jcenter/master/bintrayUpload.gradle"
//gradlew bintrayUpload