File tree 3 files changed +12
-3
lines changed
3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -31,4 +31,6 @@ google-services.json
31
31
# Android Profiling
32
32
* .hprof
33
33
34
- .project
34
+ .project
35
+
36
+ ! app /nightly-signing-key.jks
Original file line number Diff line number Diff line change @@ -72,14 +72,21 @@ android {
72
72
73
73
signingConfigs {
74
74
create(" release" ) {
75
-
76
75
// on powershell
77
76
// $env:KEY_ALIAS = "var"
78
77
keyAlias = System .getenv(" KEY_ALIAS" )
79
78
keyPassword = System .getenv(" KEY_PASSWORD" )
80
79
storeFile = file(" key.jks" )
81
80
storePassword = System .getenv(" STORE_PASSWORD" )
82
81
}
82
+
83
+ // need this because debug key is machine dependent
84
+ create(" nightly" ) {
85
+ keyAlias = " key0"
86
+ keyPassword = " 123456"
87
+ storeFile = file(" nightly-signing-key.jks" )
88
+ storePassword = " 123456"
89
+ }
83
90
}
84
91
buildTypes {
85
92
release {
@@ -96,7 +103,7 @@ android {
96
103
97
104
create(" nightly" ) {
98
105
initWith(getByName(" release" ))
99
- signingConfig = signingConfigs.getByName(" debug " )
106
+ signingConfig = signingConfigs.getByName(" nightly " )
100
107
applicationIdSuffix = " .nightly"
101
108
}
102
109
You can’t perform that action at this time.
0 commit comments