Skip to content

Commit 06f3d49

Browse files
authoredSep 23, 2020
Bundle debug keystore in each sample (android#189)
This will allow APK builds attached to the release to be 'upgradeable'.
1 parent aca46a3 commit 06f3d49

16 files changed

+116
-0
lines changed
 

Diff for: ‎Crane/app/build.gradle

+16
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,28 @@ android {
4040

4141
manifestPlaceholders = [ googleMapsKey : properties.getProperty("google.maps.key", "") ]
4242
}
43+
44+
signingConfigs {
45+
// We use a bundled debug keystore, to allow debug builds from CI to be upgradable
46+
debug {
47+
storeFile rootProject.file('debug.keystore')
48+
storePassword 'android'
49+
keyAlias 'androiddebugkey'
50+
keyPassword 'android'
51+
}
52+
}
53+
4354
buildTypes {
55+
debug {
56+
signingConfig signingConfigs.debug
57+
}
58+
4459
release {
4560
minifyEnabled false
4661
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
4762
}
4863
}
64+
4965
compileOptions {
5066
sourceCompatibility JavaVersion.VERSION_1_8
5167
targetCompatibility JavaVersion.VERSION_1_8

Diff for: ‎Crane/debug.keystore

2.05 KB
Binary file not shown.

Diff for: ‎JetNews/app/build.gradle

+14
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,21 @@ android {
2929
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
3030
}
3131

32+
signingConfigs {
33+
// We use a bundled debug keystore, to allow debug builds from CI to be upgradable
34+
debug {
35+
storeFile rootProject.file('debug.keystore')
36+
storePassword 'android'
37+
keyAlias 'androiddebugkey'
38+
keyPassword 'android'
39+
}
40+
}
41+
3242
buildTypes {
43+
debug {
44+
signingConfig signingConfigs.debug
45+
}
46+
3347
release {
3448
minifyEnabled false
3549
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'

Diff for: ‎JetNews/debug.keystore

2.05 KB
Binary file not shown.

Diff for: ‎Jetcaster/app/build.gradle

+14
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,21 @@ android {
5454
exclude "/*.jar"
5555
}
5656

57+
signingConfigs {
58+
// We use a bundled debug keystore, to allow debug builds from CI to be upgradable
59+
debug {
60+
storeFile rootProject.file('debug.keystore')
61+
storePassword 'android'
62+
keyAlias 'androiddebugkey'
63+
keyPassword 'android'
64+
}
65+
}
66+
5767
buildTypes {
68+
debug {
69+
signingConfig signingConfigs.debug
70+
}
71+
5872
release {
5973
minifyEnabled false
6074
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'

Diff for: ‎Jetcaster/debug.keystore

2.05 KB
Binary file not shown.

Diff for: ‎Jetchat/app/build.gradle

+14
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,21 @@ android {
3535
vectorDrawables.useSupportLibrary = true
3636
}
3737

38+
signingConfigs {
39+
// We use a bundled debug keystore, to allow debug builds from CI to be upgradable
40+
debug {
41+
storeFile rootProject.file('debug.keystore')
42+
storePassword 'android'
43+
keyAlias 'androiddebugkey'
44+
keyPassword 'android'
45+
}
46+
}
47+
3848
buildTypes {
49+
debug {
50+
signingConfig signingConfigs.debug
51+
}
52+
3953
release {
4054
minifyEnabled false
4155
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'

Diff for: ‎Jetchat/debug.keystore

2.05 KB
Binary file not shown.

Diff for: ‎Jetsnack/app/build.gradle

+14
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,21 @@ android {
3434
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
3535
}
3636

37+
signingConfigs {
38+
// We use a bundled debug keystore, to allow debug builds from CI to be upgradable
39+
debug {
40+
storeFile rootProject.file('debug.keystore')
41+
storePassword 'android'
42+
keyAlias 'androiddebugkey'
43+
keyPassword 'android'
44+
}
45+
}
46+
3747
buildTypes {
48+
debug {
49+
signingConfig signingConfigs.debug
50+
}
51+
3852
release {
3953
minifyEnabled false
4054
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'

Diff for: ‎Jetsnack/debug.keystore

2.05 KB
Binary file not shown.

Diff for: ‎Jetsurvey/app/build.gradle

+16
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,32 @@ android {
3333
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
3434
}
3535

36+
signingConfigs {
37+
// We use a bundled debug keystore, to allow debug builds from CI to be upgradable
38+
debug {
39+
storeFile rootProject.file('debug.keystore')
40+
storePassword 'android'
41+
keyAlias 'androiddebugkey'
42+
keyPassword 'android'
43+
}
44+
}
45+
3646
buildTypes {
47+
debug {
48+
signingConfig signingConfigs.debug
49+
}
50+
3751
release {
3852
minifyEnabled false
3953
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
4054
}
4155
}
56+
4257
compileOptions {
4358
sourceCompatibility JavaVersion.VERSION_1_8
4459
targetCompatibility JavaVersion.VERSION_1_8
4560
}
61+
4662
kotlinOptions {
4763
jvmTarget = '1.8'
4864
}

Diff for: ‎Jetsurvey/debug.keystore

2.05 KB
Binary file not shown.

Diff for: ‎Owl/app/build.gradle

+14
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,21 @@ android {
3434
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
3535
}
3636

37+
signingConfigs {
38+
// We use a bundled debug keystore, to allow debug builds from CI to be upgradable
39+
debug {
40+
storeFile rootProject.file('debug.keystore')
41+
storePassword 'android'
42+
keyAlias 'androiddebugkey'
43+
keyPassword 'android'
44+
}
45+
}
46+
3747
buildTypes {
48+
debug {
49+
signingConfig signingConfigs.debug
50+
}
51+
3852
release {
3953
minifyEnabled false
4054
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'

Diff for: ‎Owl/debug.keystore

2.05 KB
Binary file not shown.

Diff for: ‎Rally/app/build.gradle

+14
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,21 @@ android {
3535
vectorDrawables.useSupportLibrary = true
3636
}
3737

38+
signingConfigs {
39+
// We use a bundled debug keystore, to allow debug builds from CI to be upgradable
40+
debug {
41+
storeFile rootProject.file('debug.keystore')
42+
storePassword 'android'
43+
keyAlias 'androiddebugkey'
44+
keyPassword 'android'
45+
}
46+
}
47+
3848
buildTypes {
49+
debug {
50+
signingConfig signingConfigs.debug
51+
}
52+
3953
release {
4054
minifyEnabled false
4155
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'

Diff for: ‎Rally/debug.keystore

2.05 KB
Binary file not shown.

0 commit comments

Comments
 (0)
Please sign in to comment.