Skip to content

Commit

Permalink
Add release keys to CDS addons
Browse files Browse the repository at this point in the history
Fixes #24
  • Loading branch information
hufman committed Feb 20, 2024
1 parent 13d83d7 commit a27768f
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 0 deletions.
12 changes: 12 additions & 0 deletions androbd_gestalt/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,25 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

signingConfigs {
release
}
if (System.getenv("CI") == "true") {
// configure keystore
signingConfigs.release.storeFile = file("../keystore.jks")
signingConfigs.release.storePassword = System.getenv("KEYSTORE_PASSWORD")
signingConfigs.release.keyAlias = System.getenv("KEYSTORE_ALIAS")
signingConfigs.release.keyPassword = System.getenv("KEYSTORE_ALIAS_PASSWORD")
}

buildFeatures {
dataBinding true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}
compileOptions {
Expand Down
12 changes: 12 additions & 0 deletions bimmerscrobbler/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,25 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

signingConfigs {
release
}
if (System.getenv("CI") == "true") {
// configure keystore
signingConfigs.release.storeFile = file("../keystore.jks")
signingConfigs.release.storePassword = System.getenv("KEYSTORE_PASSWORD")
signingConfigs.release.keyAlias = System.getenv("KEYSTORE_ALIAS")
signingConfigs.release.keyPassword = System.getenv("KEYSTORE_ALIAS_PASSWORD")
}

buildFeatures {
dataBinding true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}
compileOptions {
Expand Down
12 changes: 12 additions & 0 deletions cds_details/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,25 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

signingConfigs {
release
}
if (System.getenv("CI") == "true") {
// configure keystore
signingConfigs.release.storeFile = file("../keystore.jks")
signingConfigs.release.storePassword = System.getenv("KEYSTORE_PASSWORD")
signingConfigs.release.keyAlias = System.getenv("KEYSTORE_ALIAS")
signingConfigs.release.keyPassword = System.getenv("KEYSTORE_ALIAS_PASSWORD")
}

buildFeatures {
dataBinding true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}
compileOptions {
Expand Down
13 changes: 13 additions & 0 deletions cds_gauges/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,26 @@ android {

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

signingConfigs {
release
}
if (System.getenv("CI") == "true") {
// configure keystore
signingConfigs.release.storeFile = file("../keystore.jks")
signingConfigs.release.storePassword = System.getenv("KEYSTORE_PASSWORD")
signingConfigs.release.keyAlias = System.getenv("KEYSTORE_ALIAS")
signingConfigs.release.keyPassword = System.getenv("KEYSTORE_ALIAS_PASSWORD")
}

buildFeatures {
dataBinding true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}

Expand Down

0 comments on commit a27768f

Please sign in to comment.