30 lines
694 B
Groovy
Raw Normal View History

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"
defaultConfig {
minSdkVersion 21
2017-08-11 21:25:15 +08:00
targetSdkVersion 26
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 {
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'
testCompile 'junit:junit:4.12'
}