Skip to content

Commit 905c7ef

Browse files
committed
Update Gradle version
1 parent 5d5a1c6 commit 905c7ef

File tree

7 files changed

+16
-21
lines changed

7 files changed

+16
-21
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
/.idea/codeStyles
88
/.idea/libraries
99
/.idea/caches
10+
/.idea/deploymentTargetSelector.xml
11+
/.idea/other.xml
1012
.DS_Store
1113
/build
1214
/captures

MediaPhone/build.gradle

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ android {
55
testNamespace namespace + '.test'
66
compileSdk 34
77

8-
def getVersionCode = { -> return 58 }
8+
def getVersionCode = { -> return 59 }
99

1010
defaultConfig {
1111
manifestPlaceholders.providerId = 'mediaphone'
@@ -17,7 +17,7 @@ android {
1717
targetSdkVersion 34
1818
minSdkVersion 14
1919
versionCode getVersionCode()
20-
versionName '1.7.5'
20+
versionName '1.7.6'
2121
// versionNameSuffix = '-beta-1'
2222
resourceConfigurations += ['en', 'es', 'fr', 'nl', 'pt', 'pl', 'ru']
2323
}
@@ -44,6 +44,10 @@ android {
4444
matchingFallbacks = ['debug']
4545
}
4646
}
47+
buildFeatures {
48+
// https://developer.android.com/r/tools/upgrade-assistant/build-config-default
49+
buildConfig true
50+
}
4751

4852
// automatically regenerate fastlane metadata for new releases
4953
tasks.register('generateMetadata', Exec) {
@@ -64,23 +68,14 @@ android {
6468
dependencies {
6569
implementation project(':MediaUtilities')
6670

71+
//noinspection GradleDependency - upgrading to 1.12.0 and beyond requires API 19; we want to keep a lower minimum
6772
implementation 'com.google.android.material:material:1.11.0' // for overall UI appearance
6873
implementation 'androidx.exifinterface:exifinterface:1.3.7' // for auto-selection of export resolution
6974
//noinspection GradleDependency - upgrading to 1.13.0 and beyond requires API 19; we want to keep a lower minimum
7075
implementation 'androidx.core:core:1.12.0' // for FileProvider
7176
implementation 'androidx.documentfile:documentfile:1.0.1' // for Storage Access Framework
7277

73-
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
74-
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
78+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
79+
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
7580
androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.3.0'
76-
77-
// fix dependency conflicts with kotlin-stdlib - see: https://youtrack.jetbrains.com/issue/KT-54136/
78-
constraints {
79-
implementation('org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.0') {
80-
because('kotlin-stdlib-jdk7 is now a part of kotlin-stdlib')
81-
}
82-
implementation('org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.0') {
83-
because('kotlin-stdlib-jdk8 is now a part of kotlin-stdlib')
84-
}
85-
}
8681
}

build.gradle

Lines changed: 1 addition & 1 deletion
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.4.1'
10+
classpath 'com.android.tools.build:gradle:8.5.0'
1111
}
1212
}
1313

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
App modernisation and minor refinements

gradle.properties

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
android.enableJetifier=true
22
android.useAndroidX=true
33

4-
# https://developer.android.com/r/tools/upgrade-assistant/build-config-default
5-
android.defaults.buildfeatures.buildconfig=true
6-
74
# https://r8.googlesource.com/r8/+/refs/heads/master/compatibility-faq.md#r8-full-mode (note: initially caused audio export issue)
85
android.enableR8.fullMode=true

gradle/wrapper/gradle-wrapper.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-all.zip
7-
distributionSha256Sum=85719317abd2112f021d4f41f09ec370534ba288432065f4b477b6a3b652910d
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip
7+
distributionSha256Sum=194717442575a6f96e1c1befa2c30e9a4fc90f701d7aee33eb879b79e7ff05c0

0 commit comments

Comments
 (0)