mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[simulator/android] Sign iff signing environment is provided
This commit is contained in:
committed by
EmilieNumworks
parent
fca1dde44d
commit
b36de49b48
@@ -53,13 +53,9 @@ android {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt')
|
||||
}
|
||||
codesigned {
|
||||
initWith buildTypes.release
|
||||
signingConfig signingConfigs.environment
|
||||
}
|
||||
buildTypes.each {
|
||||
it.buildConfigField "String", "LIBEPSILON_NAME", "\"${System.getenv('LIBEPSILON_NAME')}\""
|
||||
if (projectVariable('SIGNING_STORE_FILE')) {
|
||||
signingConfig signingConfigs.environment
|
||||
}
|
||||
}
|
||||
}
|
||||
sourceSets{
|
||||
|
||||
Reference in New Issue
Block a user