Browse Source

Add test sign key in test project.

pull/4286/head
Konstantin Tskhovrebov 10 months ago
parent
commit
cf04f46d49
  1. 14
      gradle-plugins/compose/src/test/test-projects/misc/commonResources/build.gradle.kts
  2. BIN
      gradle-plugins/compose/src/test/test-projects/misc/commonResources/key/debug.keystore

14
gradle-plugins/compose/src/test/test-projects/misc/commonResources/build.gradle.kts

@ -38,9 +38,21 @@ android {
versionCode = 1 versionCode = 1
versionName = "1.0" versionName = "1.0"
} }
signingConfigs {
create("testkey") {
storeFile = project.file("key/debug.keystore")
storePassword = "android"
keyAlias = "androiddebugkey"
keyPassword = "android"
}
}
buildTypes { buildTypes {
getByName("release") { getByName("release") {
initWith(getByName("debug")) isMinifyEnabled = false
signingConfig = signingConfigs.getByName("testkey")
}
getByName("debug") {
signingConfig = signingConfigs.getByName("testkey")
} }
} }
compileOptions { compileOptions {

BIN
gradle-plugins/compose/src/test/test-projects/misc/commonResources/key/debug.keystore

Binary file not shown.
Loading…
Cancel
Save