2017-06-11 19:24:09 +08:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
|
|
|
|
android {
|
2017-12-15 00:14:46 +08:00
|
|
|
compileSdkVersion rootProject.ext.android.COMPILE_SDK_VERSION
|
|
|
|
buildToolsVersion rootProject.ext.android.BUILD_TOOL_VERSION
|
2017-06-11 19:24:09 +08:00
|
|
|
|
|
|
|
defaultConfig {
|
2017-12-15 00:14:46 +08:00
|
|
|
minSdkVersion rootProject.ext.android.MIN_SDK_VERSION
|
|
|
|
targetSdkVersion rootProject.ext.android.TARGET_SDK_VERSION
|
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 {
|
2018-05-27 11:50:35 +08:00
|
|
|
compile 'com.github.michael-rapp:android-util:1.15.0'
|
2017-12-15 00:20:07 +08:00
|
|
|
implementation rootProject.ext.deps["annotations"]
|
|
|
|
implementation rootProject.ext.deps["appcompat-v7"]
|
|
|
|
testImplementation rootProject.ext.deps["junit"]
|
2017-06-11 19:24:09 +08:00
|
|
|
}
|