From 0737390efed6368b197af94430ea50ff95add892 Mon Sep 17 00:00:00 2001 From: AbdallahMehiz Date: Sat, 31 Aug 2024 19:26:00 +0100 Subject: [PATCH] fix: use `gradle.properties` instead of `local.properties` kind of a sloppy mistake also disable resources shrinking as per fdroid's documentation's advice --- .github/workflows/release.yml | 2 +- app/build.gradle.kts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ba79379..879e49e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: set -e timestamp=`date +%s` - echo "timestamp=$timestamp" >> local.properties + echo "timestamp=$timestamp" >> gradle.properties echo "BUILD_TIMESTAMP=$timestamp" >> $GITHUB_ENV chmod +x ./gradlew diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 2c9c049..04c72c3 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -57,7 +57,7 @@ android { buildTypes { named("release") { isMinifyEnabled = true - isShrinkResources = true + isShrinkResources = false proguardFiles( getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro",