Add config to be able to build (see pull request description as well)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -18,3 +18,4 @@
|
||||
# org.gradle.parallel=true
|
||||
|
||||
android.useDeprecatedNdk=true
|
||||
android.enableAapt2=false
|
||||
Reference in New Issue
Block a user