mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-09 08:01:20 +02:00
Move signingConfigs
This commit is contained in:
parent
f240e66c94
commit
cdab4aa5b7
1 changed files with 18 additions and 17 deletions
|
|
@ -47,6 +47,24 @@ android {
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
signingConfigs {
|
||||||
|
if (shouldSign) {
|
||||||
|
create("ci") {
|
||||||
|
file("ci.keystore").writeBytes(
|
||||||
|
Base64.getDecoder().decode(System.getenv("SIGNING_KEY")),
|
||||||
|
)
|
||||||
|
keyAlias = System.getenv("KEY_ALIAS")
|
||||||
|
keyPassword = System.getenv("KEY_PASSWORD")
|
||||||
|
storePassword = System.getenv("KEY_STORE_PASSWORD")
|
||||||
|
storeFile = file("ci.keystore")
|
||||||
|
enableV1Signing = true
|
||||||
|
enableV2Signing = true
|
||||||
|
enableV3Signing = true
|
||||||
|
enableV4Signing = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
isMinifyEnabled = false
|
isMinifyEnabled = false
|
||||||
|
|
@ -107,23 +125,6 @@ android {
|
||||||
room {
|
room {
|
||||||
schemaDirectory("$projectDir/schemas")
|
schemaDirectory("$projectDir/schemas")
|
||||||
}
|
}
|
||||||
signingConfigs {
|
|
||||||
if (shouldSign) {
|
|
||||||
create("ci") {
|
|
||||||
file("ci.keystore").writeBytes(
|
|
||||||
Base64.getDecoder().decode(System.getenv("SIGNING_KEY")),
|
|
||||||
)
|
|
||||||
keyAlias = System.getenv("KEY_ALIAS")
|
|
||||||
keyPassword = System.getenv("KEY_PASSWORD")
|
|
||||||
storePassword = System.getenv("KEY_STORE_PASSWORD")
|
|
||||||
storeFile = file("ci.keystore")
|
|
||||||
enableV1Signing = true
|
|
||||||
enableV2Signing = true
|
|
||||||
enableV3Signing = true
|
|
||||||
enableV4Signing = true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
splits {
|
splits {
|
||||||
abi {
|
abi {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue