Add config to be able to build (see pull request description as well)

This commit is contained in:
Julia Friesel
2018-09-04 17:15:00 +02:00
parent d0f90ff8c0
commit 7f66081e72
3 changed files with 19 additions and 0 deletions
+7
View File
@@ -54,3 +54,10 @@ buck-out/
# Bundle artifact
*.jsbundle
# RN android release
android/app/bin/
android/app/release/
android/app/src/main/assets/index.android.bundle
android/.project
android/app/.project
+11
View File
@@ -108,6 +108,16 @@ android {
abiFilters "armeabi-v7a", "x86"
}
}
signingConfigs {
release {
if (project.hasProperty('DRIP_RELEASE_STORE_FILE')) {
storeFile file(DRIP_RELEASE_STORE_FILE)
storePassword DRIP_RELEASE_STORE_PASSWORD
keyAlias DRIP_RELEASE_KEY_ALIAS
keyPassword DRIP_RELEASE_KEY_PASSWORD
}
}
}
splits {
abi {
reset()
@@ -120,6 +130,7 @@ android {
release {
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
signingConfig signingConfigs.release
}
}
// applicationVariants are e.g. debug, release
+1
View File
@@ -18,3 +18,4 @@
# org.gradle.parallel=true
android.useDeprecatedNdk=true
android.enableAapt2=false