Skip to content

Commit 8a3e025

Browse files
committed
Update Gradle version; fix deprecation warnings
1 parent cbd597e commit 8a3e025

File tree

5 files changed

+21
-8
lines changed

5 files changed

+21
-8
lines changed

.idea/compiler.xml

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 7 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

MediaPhone/build.gradle

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,19 @@ dependencies {
7171
//noinspection GradleDependency - upgrading to 1.12.0 and beyond requires API 19; we want to keep a lower minimum
7272
implementation 'com.google.android.material:material:1.11.0' // for overall UI appearance
7373
//noinspection GradleDependency - upgrading to 1.4.0 and beyond requires API 21; we want to keep a lower minimum
74-
implementation 'androidx.exifinterface:exifinterface:1.3.7' // for auto-selection of export resolution
74+
implementation 'androidx.exifinterface:exifinterface:1.3.7'
75+
// for auto-selection of export resolution
7576
//noinspection GradleDependency - upgrading to 1.13.0 and beyond requires API 19; we want to keep a lower minimum
7677
implementation 'androidx.core:core:1.12.0' // for FileProvider
78+
//noinspection GradleDependency - upgrading to 1.1.0 and beyond requires API 21; we want to keep a lower minimum
7779
implementation 'androidx.documentfile:documentfile:1.0.1' // for Storage Access Framework
7880

7981
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
8082
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
8183
androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.3.0'
8284
}
85+
java {
86+
toolchain {
87+
languageVersion = JavaLanguageVersion.of(17)
88+
}
89+
}

MediaUtilities

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ buildscript {
77
dependencies {
88
// distributionSha256Sum in gradle-wrapper.properties is also required for F-Droid (see distributionUrl version number)
99
// see: https://gradle.org/release-checksums/
10-
classpath 'com.android.tools.build:gradle:8.9.1'
10+
classpath 'com.android.tools.build:gradle:8.10.0'
1111
}
1212
}
1313

@@ -26,5 +26,5 @@ allprojects {
2626
}
2727

2828
tasks.register('clean', Delete) {
29-
delete rootProject.buildDir
29+
delete rootProject.layout.buildDirectory
3030
}

0 commit comments

Comments
 (0)