Skip to content

Commit f38f5d1

Browse files
authored
chore: update dependencies and migrate BuildConfig to Gradle Build files (#2404)
1 parent 3465dab commit f38f5d1

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

app/build.gradle.kts

+7-4
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ android {
5151
sourceCompatibility = JavaVersion.VERSION_17
5252
targetCompatibility = JavaVersion.VERSION_17
5353
}
54+
buildFeatures {
55+
buildConfig = true
56+
}
5457
}
5558

5659

@@ -60,7 +63,7 @@ dependencies {
6063
implementation("androidx.appcompat:appcompat:1.6.1")
6164
implementation("androidx.cardview:cardview:1.0.0")
6265
implementation("androidx.recyclerview:recyclerview:1.3.2")
63-
implementation("com.google.android.material:material:1.11.0")
66+
implementation("com.google.android.material:material:1.12.0")
6467
implementation("androidx.preference:preference:1.2.1")
6568
implementation("androidx.browser:browser:1.8.0")
6669
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
@@ -101,9 +104,9 @@ dependencies {
101104
implementation("org.osmdroid:osmdroid-android:6.1.18")
102105
implementation("org.osmdroid:osmdroid-mapsforge:6.1.18")
103106
implementation("org.osmdroid:osmdroid-geopackage:6.1.18") {
104-
exclude("org.osmdroid.gpkg");
105-
exclude("ormlite-core");
106-
exclude("com.j256.ormlite");
107+
exclude("org.osmdroid.gpkg")
108+
exclude("ormlite-core")
109+
exclude("com.j256.ormlite")
107110
}
108111

109112
// Realm

gradle.properties

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ android.useAndroidX=true
1818
android.enableJetifier=true
1919
kapt.incremental.apt=true
2020
org.gradle.warning.mode=all
21-
android.defaults.buildfeatures.buildconfig=true
2221
android.nonTransitiveRClass=false
2322
android.nonFinalResIds=false
2423
# When configured, Gradle will run in incubating parallel mode.

0 commit comments

Comments
 (0)