diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | ui/build.gradle | 18 |
2 files changed, 1 insertions, 19 deletions
@@ -14,5 +14,5 @@ build/ *.dex *.iml *.jks -keystore.properties gradlew.bat +maint/ diff --git a/ui/build.gradle b/ui/build.gradle index 5e21010f..c0cb55bc 100644 --- a/ui/build.gradle +++ b/ui/build.gradle @@ -9,10 +9,6 @@ plugins { version wireguardVersionName group groupName -// Create a variable called keystorePropertiesFile, and initialize it to your -// keystore.properties file, in the rootProject folder. -final def keystorePropertiesFile = rootProject.file("keystore.properties") - android { compileSdk 33 buildFeatures { @@ -34,22 +30,8 @@ android { targetCompatibility JavaVersion.VERSION_1_8 coreLibraryDesugaringEnabled = true } - if (keystorePropertiesFile.exists()) { - final def keystoreProperties = new Properties() - keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) - - signingConfigs { - release { - keyAlias keystoreProperties['keyAlias'] - keyPassword keystoreProperties['keyPassword'] - storeFile rootProject.file(keystoreProperties['storeFile']) - storePassword keystoreProperties['storePassword'] - } - } - } buildTypes { release { - if (keystorePropertiesFile.exists()) signingConfig signingConfigs.release minifyEnabled true proguardFiles "proguard-android-optimize.txt", "proguard-rules.pro" packagingOptions { |