feat: app 签名
This commit is contained in:
@@ -6,8 +6,7 @@ plugins {
|
||||
alias(libs.plugins.kotlin.android)
|
||||
}
|
||||
|
||||
val keystores: Map<String, Properties?> =
|
||||
mapOf("release" to loadKeystoreProperties("keystore.properties"))
|
||||
val keystores: Properties? = loadKeystoreProperties("keystore.properties")
|
||||
|
||||
android {
|
||||
namespace = "com.yuanxuan.rokid"
|
||||
@@ -25,13 +24,13 @@ android {
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
||||
keystores["release"]?.let { proerties ->
|
||||
keystores?.let {
|
||||
signingConfigs {
|
||||
create("release") {
|
||||
storeFile = rootProject.file(proerties["storeFile"] as String)
|
||||
storePassword = proerties["storePassword"] as String
|
||||
keyAlias = proerties["keyAlias"] as String
|
||||
keyPassword = proerties["keyPassword"] as String
|
||||
storeFile = rootProject.file(it["storeFile"] as String)
|
||||
storePassword = it["storePassword"] as String
|
||||
keyAlias = it["keyAlias"] as String
|
||||
keyPassword = it["keyPassword"] as String
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -58,6 +57,7 @@ android {
|
||||
}
|
||||
buildFeatures {
|
||||
viewBinding = true
|
||||
buildConfig = true
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user