Browse Source

android: add ability to make test signed release builds

master
Saúl Ibarra Corretgé 5 years ago
parent
commit
b3983aa766
2 changed files with 11 additions and 0 deletions
  1. 11
    0
      android/app/build.gradle
  2. BIN
      android/app/debug.keystore

+ 11
- 0
android/app/build.gradle View File

32
         }
32
         }
33
     }
33
     }
34
 
34
 
35
+    signingConfigs {
36
+        debug {
37
+            storeFile file('debug.keystore')
38
+            storePassword 'android'
39
+            keyAlias 'androiddebugkey'
40
+            keyPassword 'android'
41
+        }
42
+    }
43
+
35
     buildTypes {
44
     buildTypes {
36
         debug {
45
         debug {
37
             buildConfigField "boolean", "GOOGLE_SERVICES_ENABLED", "${googleServicesEnabled}"
46
             buildConfigField "boolean", "GOOGLE_SERVICES_ENABLED", "${googleServicesEnabled}"
38
             buildConfigField "boolean", "LIBRE_BUILD", "${rootProject.ext.libreBuild}"
47
             buildConfigField "boolean", "LIBRE_BUILD", "${rootProject.ext.libreBuild}"
39
         }
48
         }
40
         release {
49
         release {
50
+            // Uncomment the following line for singing a test release build.
51
+            //signingConfig signingConfigs.debug
41
             minifyEnabled true
52
             minifyEnabled true
42
             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules-release.pro'
53
             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules-release.pro'
43
             buildConfigField "boolean", "GOOGLE_SERVICES_ENABLED", "${googleServicesEnabled}"
54
             buildConfigField "boolean", "GOOGLE_SERVICES_ENABLED", "${googleServicesEnabled}"

BIN
android/app/debug.keystore View File


Loading…
Cancel
Save