From ff0a5c195f1e2f0b2e65d5ae3c4ca87d169b0094 Mon Sep 17 00:00:00 2001 From: Martin Zeitler Date: Fri, 9 Aug 2024 22:38:51 +0200 Subject: [PATCH] AGP 8.5.2 --- gradle.properties | 1 + mobile/build.gradle | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 5d905080..9d672377 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,4 +9,5 @@ org.gradle.welcome=never android.useAndroidX=true android.enableJetifier=false + android.suppressUnsupportedCompileSdk=35 diff --git a/mobile/build.gradle b/mobile/build.gradle index 8fc17ad0..51cf4936 100644 --- a/mobile/build.gradle +++ b/mobile/build.gradle @@ -8,8 +8,10 @@ plugins { /** Load API access-token from file `token.properties` */ if (rootProject.file('token.properties').exists()) { def apikeys = new Properties() - apikeys.load(new FileInputStream(rootProject.file('token.properties'))) + def fis = new FileInputStream(rootProject.file('token.properties')) + apikeys.load(fis) project.ext.set('accessToken', apikeys['accessToken']) + fis.close() } else { println "*** File `token.properties` is missing; the GitHub API may be rate-limited." println "*** The personal access token needs to be defined with an EditTextPreference."