Selaa lähdekoodia

-add keystore for release

ilhamitubagoes 4 vuotta sitten
vanhempi
commit
0c36e596d1
3 muutettua tiedostoa jossa 9 lisäystä ja 0 poistoa
  1. 8 0
      app/build.gradle
  2. 1 0
      app/src/main/java/com/fusi24/rfid/config/Constant.java
  3. BIN
      keystore.jks

+ 8 - 0
app/build.gradle

@@ -13,6 +13,14 @@ android {
13 13
         versionName gitVersionName
14 14
         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
15 15
     }
16
+    signingConfigs {
17
+        release {
18
+            keyAlias 'rfid-hse-fusi'
19
+            keyPassword 'spontanuhuy'
20
+            storeFile file('../keystore.jks')
21
+            storePassword 'password'
22
+        }
23
+    }
16 24
     buildTypes {
17 25
         release {
18 26
             minifyEnabled false

+ 1 - 0
app/src/main/java/com/fusi24/rfid/config/Constant.java

@@ -36,6 +36,7 @@ public final class Constant {
36 36
     public final static String BEATS_ENDPOINT = "/beats";
37 37
     public final static String BEATS2_ENDPOINT = "/beats2";
38 38
     public final static String SID_ENDPOINT = "/sid";
39
+    public final static String SID2_ENDPOINT = "/sid2";
39 40
     public final static String RFID_ENDPOINT = "/rfid";
40 41
 
41 42
     public static final String URL_PHOTO = BASE_URL + BEATS2_ENDPOINT + "/file?path=";*/

BIN
keystore.jks