mirror of
https://github.com/wasabeef/glide-transformations.git
synced 2025-06-08 07:24:05 +08:00
format
This commit is contained in:
parent
219b32bbcc
commit
9bea464afc
@ -1,58 +1,58 @@
|
|||||||
apply plugin: 'com.android.application'
|
apply plugin: 'com.android.application'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion COMPILE_SDK_VERSION as int
|
compileSdkVersion COMPILE_SDK_VERSION as int
|
||||||
buildToolsVersion BUILD_TOOLS_VERSION
|
buildToolsVersion BUILD_TOOLS_VERSION
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion MIN_SDK_VERSION as int
|
minSdkVersion MIN_SDK_VERSION as int
|
||||||
targetSdkVersion TARGET_SDK_VERSION as int
|
targetSdkVersion TARGET_SDK_VERSION as int
|
||||||
versionCode "git rev-list origin/master --count".execute().text.toInteger()
|
versionCode "git rev-list origin/master --count".execute().text.toInteger()
|
||||||
versionName VERSION_NAME
|
versionName VERSION_NAME
|
||||||
}
|
}
|
||||||
|
|
||||||
signingConfigs {
|
signingConfigs {
|
||||||
release {
|
release {
|
||||||
storeFile file(keyStoreProperty)
|
storeFile file(keyStoreProperty)
|
||||||
keyAlias keyAliasProperty
|
keyAlias keyAliasProperty
|
||||||
storePassword keyStorePasswordProperty
|
storePassword keyStorePasswordProperty
|
||||||
keyPassword keyAliasPasswordProperty
|
keyPassword keyAliasPasswordProperty
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
debug {
|
debug {
|
||||||
debuggable true
|
debuggable true
|
||||||
zipAlignEnabled true
|
zipAlignEnabled true
|
||||||
}
|
|
||||||
release {
|
|
||||||
debuggable false
|
|
||||||
zipAlignEnabled true
|
|
||||||
signingConfig signingConfigs.release
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
release {
|
||||||
|
debuggable false
|
||||||
|
zipAlignEnabled true
|
||||||
|
signingConfig signingConfigs.release
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
def getKeyStoreProperty() {
|
def getKeyStoreProperty() {
|
||||||
return hasProperty('WASABEEF_KEYSTORE') ? WASABEEF_KEYSTORE : "debug.keystore"
|
return hasProperty('WASABEEF_KEYSTORE') ? WASABEEF_KEYSTORE : "debug.keystore"
|
||||||
}
|
}
|
||||||
|
|
||||||
def getKeyAliasProperty() {
|
def getKeyAliasProperty() {
|
||||||
return hasProperty('WASABEEF_KEYALIAS') ? WASABEEF_KEYALIAS : "android"
|
return hasProperty('WASABEEF_KEYALIAS') ? WASABEEF_KEYALIAS : "android"
|
||||||
}
|
}
|
||||||
|
|
||||||
def getKeyStorePasswordProperty() {
|
def getKeyStorePasswordProperty() {
|
||||||
return hasProperty('WASABEEF_KEYSTOREPASSWORD') ? WASABEEF_KEYSTOREPASSWORD : "androiddebugkey"
|
return hasProperty('WASABEEF_KEYSTOREPASSWORD') ? WASABEEF_KEYSTOREPASSWORD : "androiddebugkey"
|
||||||
}
|
}
|
||||||
|
|
||||||
def getKeyAliasPasswordProperty() {
|
def getKeyAliasPasswordProperty() {
|
||||||
return hasProperty('WASABEEF_KEYALIASPASSWORD') ? WASABEEF_KEYALIASPASSWORD : "android"
|
return hasProperty('WASABEEF_KEYALIASPASSWORD') ? WASABEEF_KEYALIASPASSWORD : "android"
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':transformations')
|
compile project(':transformations')
|
||||||
compile "com.github.bumptech.glide:glide:${GLIDE_VERSION}"
|
compile "com.github.bumptech.glide:glide:${GLIDE_VERSION}"
|
||||||
compile "jp.co.cyberagent.android.gpuimage:gpuimage-library:${GPUIMAGE_VERSION}"
|
compile "jp.co.cyberagent.android.gpuimage:gpuimage-library:${GPUIMAGE_VERSION}"
|
||||||
compile "com.android.support:appcompat-v7:${SUPPORT_PACKAGE_VERSION}"
|
compile "com.android.support:appcompat-v7:${SUPPORT_PACKAGE_VERSION}"
|
||||||
compile "com.android.support:recyclerview-v7:${SUPPORT_PACKAGE_VERSION}"
|
compile "com.android.support:recyclerview-v7:${SUPPORT_PACKAGE_VERSION}"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user