parent
b67f45e497
commit
604095a1e9
|
|
@ -4,11 +4,11 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
namespace = "com.example.tgwsproxy"
|
namespace = "com.amurcanov.tgwsproxy"
|
||||||
compileSdk = 34
|
compileSdk = 34
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId = "com.example.tgwsproxy"
|
applicationId = "com.amurcanov.tgwsproxy"
|
||||||
minSdk = 26
|
minSdk = 26
|
||||||
targetSdk = 34
|
targetSdk = 34
|
||||||
versionCode = 1
|
versionCode = 1
|
||||||
|
|
@ -25,17 +25,21 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
signingConfigs {
|
signingConfigs {
|
||||||
|
val keystoreFile = file("amurcanov.jks")
|
||||||
|
if (keystoreFile.exists()) {
|
||||||
create("release") {
|
create("release") {
|
||||||
storeFile = file("release.jks")
|
storeFile = keystoreFile
|
||||||
storePassword = "password"
|
// Берем пароли из локальных переменных среды или файла
|
||||||
keyAlias = "release"
|
storePassword = System.getenv("KEYSTORE_PASSWORD") ?: "flowseal-fork"
|
||||||
keyPassword = "password"
|
keyAlias = "amurcanov"
|
||||||
|
keyPassword = System.getenv("KEY_PASSWORD") ?: "flowseal-fork"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
signingConfig = signingConfigs.getByName("release")
|
signingConfig = signingConfigs.findByName("release")
|
||||||
isMinifyEnabled = true
|
isMinifyEnabled = true
|
||||||
isShrinkResources = true
|
isShrinkResources = true
|
||||||
proguardFiles(
|
proguardFiles(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue