mirror of
https://github.com/wasabeef/glide-transformations.git
synced 2025-06-08 23:44:04 +08:00
62 lines
1.7 KiB
Groovy
62 lines
1.7 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion COMPILE_SDK_VERSION as int
|
|
buildToolsVersion BUILD_TOOLS_VERSION
|
|
|
|
defaultConfig {
|
|
minSdkVersion MIN_SDK_VERSION as int
|
|
targetSdkVersion TARGET_SDK_VERSION as int
|
|
versionCode VERSION_CODE as int
|
|
versionName VERSION_NAME
|
|
renderscriptTargetApi RENDERSCRIPT_TARGET_API as int
|
|
renderscriptSupportModeEnabled true
|
|
}
|
|
|
|
signingConfigs {
|
|
release {
|
|
storeFile file(keyStoreProperty)
|
|
keyAlias keyAliasProperty
|
|
storePassword keyStorePasswordProperty
|
|
keyPassword keyAliasPasswordProperty
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
debuggable true
|
|
zipAlignEnabled true
|
|
}
|
|
release {
|
|
debuggable false
|
|
zipAlignEnabled true
|
|
signingConfig signingConfigs.release
|
|
}
|
|
}
|
|
}
|
|
|
|
def getKeyStoreProperty() {
|
|
return hasProperty('WASABEEF_KEYSTORE') ? WASABEEF_KEYSTORE : "debug.keystore"
|
|
}
|
|
|
|
def getKeyAliasProperty() {
|
|
return hasProperty('WASABEEF_KEYALIAS') ? WASABEEF_KEYALIAS : "android"
|
|
}
|
|
|
|
def getKeyStorePasswordProperty() {
|
|
return hasProperty('WASABEEF_KEYSTOREPASSWORD') ? WASABEEF_KEYSTOREPASSWORD : "androiddebugkey"
|
|
}
|
|
|
|
def getKeyAliasPasswordProperty() {
|
|
return hasProperty('WASABEEF_KEYALIASPASSWORD') ? WASABEEF_KEYALIASPASSWORD : "android"
|
|
}
|
|
|
|
dependencies {
|
|
compile project(':transformations')
|
|
// compile 'jp.wasabeef:glide-transformations:1.0.4'
|
|
compile 'jp.co.cyberagent.android.gpuimage:gpuimage-library:1.2.3'
|
|
compile 'com.android.support:appcompat-v7:21.+'
|
|
compile 'com.android.support:recyclerview-v7:21.+'
|
|
compile 'com.github.bumptech.glide:glide:3.5.1'
|
|
}
|