30 lines
860 B
Groovy
Raw Normal View History

apply plugin: 'com.android.library'
android {
compileSdkVersion rootProject.ext.android.COMPILE_SDK_VERSION
buildToolsVersion rootProject.ext.android.BUILD_TOOL_VERSION
defaultConfig {
minSdkVersion rootProject.ext.android.MIN_SDK_VERSION
targetSdkVersion rootProject.ext.android.TARGET_SDK_VERSION
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled true
2017-10-25 23:33:36 +08:00
versionNameSuffix "-${getGitHeadRefsSuffix()}"
}
debug {
2017-10-26 23:40:28 +08:00
versionNameSuffix "-snapshot-${getGitHeadRefsSuffix()}"
}
}
}
dependencies {
2018-05-27 11:50:35 +08:00
compile 'com.github.michael-rapp:android-util:1.15.0'
implementation rootProject.ext.deps["annotations"]
implementation rootProject.ext.deps["appcompat-v7"]
testImplementation rootProject.ext.deps["junit"]
}