forkeado de vergnet/application-amicale
Move keystore properties in own file
This allows to sync gradle.properties with git
Este commit está contenido en:
padre
dfa9548a2f
commit
19d856574e
Se han modificado 3 ficheros con 39 adiciones y 7 borrados
2
.gitignore
vendido
2
.gitignore
vendido
|
@ -42,7 +42,7 @@ buck-out/
|
|||
*.keystore
|
||||
!debug.keystore
|
||||
*.jks
|
||||
/android/gradle.properties
|
||||
/android/keystores/release.keystore.properties
|
||||
|
||||
# fastlane
|
||||
#
|
||||
|
|
|
@ -124,6 +124,13 @@ def jscFlavor = 'org.webkit:android-jsc:+'
|
|||
*/
|
||||
def enableHermes = project.ext.react.get("enableHermes", false);
|
||||
|
||||
/**
|
||||
* Load release keystore
|
||||
*/
|
||||
def keystorePropertiesFile = rootProject.file("keystores/release.keystore.properties");
|
||||
def keystoreProperties = new Properties()
|
||||
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
||||
|
||||
android {
|
||||
compileSdkVersion rootProject.ext.compileSdkVersion
|
||||
|
||||
|
@ -156,12 +163,10 @@ android {
|
|||
keyPassword 'android'
|
||||
}
|
||||
release {
|
||||
if (project.hasProperty('MYAPP_UPLOAD_STORE_FILE')) {
|
||||
storeFile file(MYAPP_UPLOAD_STORE_FILE)
|
||||
storePassword MYAPP_UPLOAD_STORE_PASSWORD
|
||||
keyAlias MYAPP_UPLOAD_KEY_ALIAS
|
||||
keyPassword MYAPP_UPLOAD_KEY_PASSWORD
|
||||
}
|
||||
storeFile file(keystoreProperties['UPLOAD_STORE_FILE'])
|
||||
storePassword keystoreProperties['UPLOAD_STORE_PASSWORD']
|
||||
keyAlias keystoreProperties['UPLOAD_KEY_ALIAS']
|
||||
keyPassword keystoreProperties['UPLOAD_KEY_PASSWORD']
|
||||
}
|
||||
}
|
||||
buildTypes {
|
||||
|
|
27
android/gradle.properties
Archivo normal
27
android/gradle.properties
Archivo normal
|
@ -0,0 +1,27 @@
|
|||
# Project-wide Gradle settings.
|
||||
|
||||
# IDE (e.g. Android Studio) users:
|
||||
# Gradle settings configured through the IDE *will override*
|
||||
# any settings specified in this file.
|
||||
|
||||
# For more details on how to configure your build environment visit
|
||||
# http://www.gradle.org/docs/current/userguide/build_environment.html
|
||||
|
||||
# Specifies the JVM arguments used for the daemon process.
|
||||
# The setting is particularly useful for tweaking memory settings.
|
||||
# Default value: -Xmx10248m -XX:MaxPermSize=256m
|
||||
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
|
||||
|
||||
# When configured, Gradle will run in incubating parallel mode.
|
||||
# This option should only be used with decoupled projects. More details, visit
|
||||
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
||||
# org.gradle.parallel=true
|
||||
|
||||
# AndroidX package structure to make it clearer which packages are bundled with the
|
||||
# Android operating system, and which are packaged with your app's APK
|
||||
# https://developer.android.com/topic/libraries/support-library/androidx-rn
|
||||
android.useAndroidX=true
|
||||
# Automatically convert third-party libraries to use AndroidX
|
||||
android.enableJetifier=true
|
||||
# Version of flipper SDK to use with React Native
|
||||
FLIPPER_VERSION=0.37.0
|
Cargando…
Referenciar en una nueva incidencia