Skip to content

Commit 9bea464

Browse files
committed
format
1 parent 219b32b commit 9bea464

File tree

1 file changed

+35
-35
lines changed

1 file changed

+35
-35
lines changed

example/build.gradle

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,58 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
compileSdkVersion COMPILE_SDK_VERSION as int
5-
buildToolsVersion BUILD_TOOLS_VERSION
6-
7-
defaultConfig {
8-
minSdkVersion MIN_SDK_VERSION as int
9-
targetSdkVersion TARGET_SDK_VERSION as int
10-
versionCode "git rev-list origin/master --count".execute().text.toInteger()
11-
versionName VERSION_NAME
4+
compileSdkVersion COMPILE_SDK_VERSION as int
5+
buildToolsVersion BUILD_TOOLS_VERSION
6+
7+
defaultConfig {
8+
minSdkVersion MIN_SDK_VERSION as int
9+
targetSdkVersion TARGET_SDK_VERSION as int
10+
versionCode "git rev-list origin/master --count".execute().text.toInteger()
11+
versionName VERSION_NAME
12+
}
13+
14+
signingConfigs {
15+
release {
16+
storeFile file(keyStoreProperty)
17+
keyAlias keyAliasProperty
18+
storePassword keyStorePasswordProperty
19+
keyPassword keyAliasPasswordProperty
1220
}
21+
}
1322

14-
signingConfigs {
15-
release {
16-
storeFile file(keyStoreProperty)
17-
keyAlias keyAliasProperty
18-
storePassword keyStorePasswordProperty
19-
keyPassword keyAliasPasswordProperty
20-
}
23+
buildTypes {
24+
debug {
25+
debuggable true
26+
zipAlignEnabled true
2127
}
22-
23-
buildTypes {
24-
debug {
25-
debuggable true
26-
zipAlignEnabled true
27-
}
28-
release {
29-
debuggable false
30-
zipAlignEnabled true
31-
signingConfig signingConfigs.release
32-
}
28+
release {
29+
debuggable false
30+
zipAlignEnabled true
31+
signingConfig signingConfigs.release
3332
}
33+
}
3434
}
3535

3636
def getKeyStoreProperty() {
37-
return hasProperty('WASABEEF_KEYSTORE') ? WASABEEF_KEYSTORE : "debug.keystore"
37+
return hasProperty('WASABEEF_KEYSTORE') ? WASABEEF_KEYSTORE : "debug.keystore"
3838
}
3939

4040
def getKeyAliasProperty() {
41-
return hasProperty('WASABEEF_KEYALIAS') ? WASABEEF_KEYALIAS : "android"
41+
return hasProperty('WASABEEF_KEYALIAS') ? WASABEEF_KEYALIAS : "android"
4242
}
4343

4444
def getKeyStorePasswordProperty() {
45-
return hasProperty('WASABEEF_KEYSTOREPASSWORD') ? WASABEEF_KEYSTOREPASSWORD : "androiddebugkey"
45+
return hasProperty('WASABEEF_KEYSTOREPASSWORD') ? WASABEEF_KEYSTOREPASSWORD : "androiddebugkey"
4646
}
4747

4848
def getKeyAliasPasswordProperty() {
49-
return hasProperty('WASABEEF_KEYALIASPASSWORD') ? WASABEEF_KEYALIASPASSWORD : "android"
49+
return hasProperty('WASABEEF_KEYALIASPASSWORD') ? WASABEEF_KEYALIASPASSWORD : "android"
5050
}
5151

5252
dependencies {
53-
compile project(':transformations')
54-
compile "com.github.bumptech.glide:glide:${GLIDE_VERSION}"
55-
compile "jp.co.cyberagent.android.gpuimage:gpuimage-library:${GPUIMAGE_VERSION}"
56-
compile "com.android.support:appcompat-v7:${SUPPORT_PACKAGE_VERSION}"
57-
compile "com.android.support:recyclerview-v7:${SUPPORT_PACKAGE_VERSION}"
53+
compile project(':transformations')
54+
compile "com.github.bumptech.glide:glide:${GLIDE_VERSION}"
55+
compile "jp.co.cyberagent.android.gpuimage:gpuimage-library:${GPUIMAGE_VERSION}"
56+
compile "com.android.support:appcompat-v7:${SUPPORT_PACKAGE_VERSION}"
57+
compile "com.android.support:recyclerview-v7:${SUPPORT_PACKAGE_VERSION}"
5858
}

0 commit comments

Comments
 (0)