Skip to content

Commit

Permalink
Added debug keystore to ensure a predictable signature digest
Browse files Browse the repository at this point in the history
  • Loading branch information
gary.archer authored and gary.archer committed Jul 11, 2023
1 parent 1779eb8 commit 0decfbb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 16 deletions.
23 changes: 11 additions & 12 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,24 +33,23 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

// signingConfigs {
// debug {
// // See root gradle.properties
// keyAlias "androiddebugkey"
// keyPassword "android"
// storeFile file("$rootDir/debug.keystore")
// storePassword "android"
// }
// }
signingConfigs {
debug {
keyAlias "androiddebugkey"
keyPassword "android"
storeFile file("$rootDir/debug.keystore")
storePassword "android"
}
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
// debug {
// signingConfig signingConfigs.debug
// }
debug {
signingConfig signingConfigs.debug
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
Expand Down
5 changes: 1 addition & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
ext.kotlin_version = "1.7.20"
repositories {
Expand All @@ -24,9 +24,6 @@ buildscript {
classpath 'com.android.tools.build:gradle:7.3.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

Expand Down
Binary file added debug.keystore
Binary file not shown.

0 comments on commit 0decfbb

Please sign in to comment.