File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -9,4 +9,5 @@ org.gradle.welcome=never
9
9
10
10
android.useAndroidX =true
11
11
android.enableJetifier =false
12
+
12
13
android.suppressUnsupportedCompileSdk =35
Original file line number Diff line number Diff line change @@ -8,8 +8,10 @@ plugins {
8
8
/* * Load API access-token from file `token.properties` */
9
9
if (rootProject. file(' token.properties' ). exists()) {
10
10
def apikeys = new Properties ()
11
- apikeys. load(new FileInputStream (rootProject. file(' token.properties' )))
11
+ def fis = new FileInputStream (rootProject. file(' token.properties' ))
12
+ apikeys. load(fis)
12
13
project. ext. set(' accessToken' , apikeys[' accessToken' ])
14
+ fis. close()
13
15
} else {
14
16
println " *** File `token.properties` is missing; the GitHub API may be rate-limited."
15
17
println " *** The personal access token needs to be defined with an EditTextPreference."
You can’t perform that action at this time.
0 commit comments