Update ndk version
This commit is contained in:
parent
2ea148c30a
commit
88d56ed627
@ -13,7 +13,7 @@ def gitSha = { ->
|
||||
}.memoize()
|
||||
|
||||
android {
|
||||
|
||||
ndkVersion config['ndk-version']
|
||||
compileSdkVersion config['compile-sdk']
|
||||
buildToolsVersion config['build-tools']
|
||||
|
||||
@ -59,47 +59,47 @@ android {
|
||||
}
|
||||
|
||||
// do not sign in CI
|
||||
if (!project.hasProperty('CI')) {
|
||||
signingConfigs {
|
||||
config {
|
||||
|
||||
final def keystoreFile = project.file('keystore.jks')
|
||||
final def keystoreFilePassword = 'MARKWON_KEYSTORE_FILE_PASSWORD'
|
||||
final def keystoreAlias = 'MARKWON_KEY_ALIAS'
|
||||
final def keystoreAliasPassword = 'MARKWON_KEY_ALIAS_PASSWORD'
|
||||
|
||||
final def properties = [
|
||||
keystoreFilePassword,
|
||||
keystoreAlias,
|
||||
keystoreAliasPassword
|
||||
]
|
||||
|
||||
if (!keystoreFile.exists()) {
|
||||
throw new IllegalStateException("No '${keystoreFile.name}' file is found.")
|
||||
}
|
||||
|
||||
final def missingProperties = properties.findAll { !project.hasProperty(it) }
|
||||
if (!missingProperties.isEmpty()) {
|
||||
throw new IllegalStateException("Missing required signing properties: $missingProperties")
|
||||
}
|
||||
|
||||
storeFile keystoreFile
|
||||
storePassword project[keystoreFilePassword]
|
||||
|
||||
keyAlias project[keystoreAlias]
|
||||
keyPassword project[keystoreAliasPassword]
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
debug {
|
||||
signingConfig signingConfigs.config
|
||||
}
|
||||
release {
|
||||
signingConfig signingConfigs.config
|
||||
}
|
||||
}
|
||||
}
|
||||
// if (!project.hasProperty('CI')) {
|
||||
// signingConfigs {
|
||||
// config {
|
||||
//
|
||||
// final def keystoreFile = project.file('keystore.jks')
|
||||
// final def keystoreFilePassword = 'MARKWON_KEYSTORE_FILE_PASSWORD'
|
||||
// final def keystoreAlias = 'MARKWON_KEY_ALIAS'
|
||||
// final def keystoreAliasPassword = 'MARKWON_KEY_ALIAS_PASSWORD'
|
||||
//
|
||||
// final def properties = [
|
||||
// keystoreFilePassword,
|
||||
// keystoreAlias,
|
||||
// keystoreAliasPassword
|
||||
// ]
|
||||
//
|
||||
// if (!keystoreFile.exists()) {
|
||||
// throw new IllegalStateException("No '${keystoreFile.name}' file is found.")
|
||||
// }
|
||||
//
|
||||
// final def missingProperties = properties.findAll { !project.hasProperty(it) }
|
||||
// if (!missingProperties.isEmpty()) {
|
||||
// throw new IllegalStateException("Missing required signing properties: $missingProperties")
|
||||
// }
|
||||
//
|
||||
// storeFile keystoreFile
|
||||
// storePassword project[keystoreFilePassword]
|
||||
//
|
||||
// keyAlias project[keystoreAlias]
|
||||
// keyPassword project[keystoreAliasPassword]
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// buildTypes {
|
||||
// debug {
|
||||
// signingConfig signingConfigs.config
|
||||
// }
|
||||
// release {
|
||||
// signingConfig signingConfigs.config
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
kapt {
|
||||
|
@ -53,6 +53,7 @@ ext {
|
||||
'compile-sdk' : 29,
|
||||
'target-sdk' : 29,
|
||||
'min-sdk' : 16,
|
||||
'ndk-version' : '21.4.7075529',
|
||||
'push-aar-gradle': 'https://raw.githubusercontent.com/noties/gradle-mvn-push/master/gradle-mvn-push-aar.gradle'
|
||||
]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user