summaryrefslogtreecommitdiffhomepage
path: root/ui
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2023-04-06 13:55:47 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2023-04-06 17:16:29 +0200
commit53f8c8dbc4ebb03a01419f6eb3eab3d77e6bb087 (patch)
tree431147920a34e319dc0d081a2554966ad0d43745 /ui
parent1328660b0b00f3ce8c5502aabb99399016e69ec4 (diff)
build: remove bespoke signing config properties
Keys should be in HSMs anyway, and a setup like this does not easily allow for that. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui')
-rw-r--r--ui/build.gradle18
1 files changed, 0 insertions, 18 deletions
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 {