mirror of
https://github.com/Flowseal/tg-ws-proxy.git
synced 2026-05-23 07:51:43 +03:00
Update build.gradle.kts
v1.0.1
This commit is contained in:
@@ -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 {
|
||||||
create("release") {
|
val keystoreFile = file("amurcanov.jks")
|
||||||
storeFile = file("release.jks")
|
if (keystoreFile.exists()) {
|
||||||
storePassword = "password"
|
create("release") {
|
||||||
keyAlias = "release"
|
storeFile = keystoreFile
|
||||||
keyPassword = "password"
|
// Берем пароли из локальных переменных среды или файла
|
||||||
|
storePassword = System.getenv("KEYSTORE_PASSWORD") ?: "flowseal-fork"
|
||||||
|
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(
|
||||||
|
|||||||
Reference in New Issue
Block a user