Эх сурвалжийг харах

Fix build gradle to generate release unsigned apk

jabarros 8 жил өмнө
parent
commit
784f6f928d

+ 3 - 1
build.gradle

@@ -136,7 +136,9 @@ android {
 
     buildTypes {
         release {
-            signingConfig signingConfigs.release
+            if (System.env.OC_RELEASE_KEYSTORE) {
+                signingConfig signingConfigs.release
+            }
         }
     }
 

+ 3 - 1
oc_jb_workaround/build.gradle

@@ -53,7 +53,9 @@ android {
 
     buildTypes {
         release {
-            signingConfig signingConfigs.release
+            if (System.env.OC_RELEASE_KEYSTORE) {
+                signingConfig signingConfigs.release
+            }
         }
     }