2017-06-11 19:24:09 +08:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
|
|
|
|
android {
|
2017-08-11 21:25:15 +08:00
|
|
|
compileSdkVersion 26
|
2017-10-08 23:34:26 +08:00
|
|
|
buildToolsVersion "26.0.2"
|
2017-06-11 19:24:09 +08:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 21
|
2017-08-11 21:25:15 +08:00
|
|
|
targetSdkVersion 26
|
2017-06-11 19:24:09 +08:00
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
2017-07-04 01:56:53 +08:00
|
|
|
minifyEnabled true
|
2017-10-25 23:33:36 +08:00
|
|
|
versionNameSuffix "-${getGitHeadRefsSuffix()}"
|
|
|
|
}
|
|
|
|
debug {
|
2017-10-26 23:40:28 +08:00
|
|
|
versionNameSuffix "-snapshot-${getGitHeadRefsSuffix()}"
|
2017-06-11 19:24:09 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile 'com.github.michael-rapp:android-util:1.15.0'
|
2017-10-08 23:34:26 +08:00
|
|
|
compile 'com.android.support:support-annotations:26.1.0'
|
|
|
|
compile 'com.android.support:appcompat-v7:26.1.0'
|
2017-06-11 19:24:09 +08:00
|
|
|
testCompile 'junit:junit:4.12'
|
|
|
|
}
|