mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
Pass our signing information to gradle by argument.
Changes from using environment variables that the world can see to arguments. So we don't have to expose our keys and aliases to people
This commit is contained in:
@ -61,12 +61,11 @@ android {
|
|||||||
|
|
||||||
signingConfigs {
|
signingConfigs {
|
||||||
release {
|
release {
|
||||||
if (System.getenv("KEYSTORE") != null)
|
if (project.hasProperty('keystore')) {
|
||||||
{
|
storeFile file(project.property('keystore'))
|
||||||
storeFile file(System.getenv("KEYSTORE"))
|
storePassword project.property('storepass')
|
||||||
storePassword System.getenv("KEYSTORE_PASSWORD")
|
keyAlias project.property('keyalias')
|
||||||
keyAlias System.getenv("KEY_ALIAS")
|
keyPassword project.property('keypass')
|
||||||
keyPassword System.getenv("KEY_PASSWORD")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user