Skip to content

Commit

Permalink
fix(deps): remove r8 google repo as F-Droid won't build with that. Re…
Browse files Browse the repository at this point in the history
…move explicit R8 dependency so we can rely on AGP shipped version

Fixes #1852
  • Loading branch information
growse committed Sep 20, 2024
1 parent 2ab626e commit 8342dc5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@

## Version 2.5.3

## New features
### New features

- OSM map is a little easier to zoom without accidentally rotating (#1825)

### Bug fixes

- OSM map is a little easier to zoom without accidentally rotating.
- Use AGP-provided version of R8 rather than version from Google so that F-Droid can build it (#1852)

## Version 2.5.2

Expand Down
1 change: 0 additions & 1 deletion project/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
buildscript {
repositories {
mavenCentral()
maven { url = uri("https://storage.googleapis.com/r8-releases/raw") }
}
dependencies { classpath(libs.bundles.buildscript) }
}
Expand Down
4 changes: 1 addition & 3 deletions project/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ okhttp = "4.12.0"
osmdroid = "6.1.20"
paho-mqtt = "1.2.5"
play-services-location = "21.3.0"
r8 = "8.6.17"
slf4j-simple = "2.0.16"
slf4j-timber = "1.0.1"
square-leakcanary = "2.14"
Expand Down Expand Up @@ -142,7 +141,6 @@ androidx-test-orchestrator = { module = "androidx.test:orchestrator", version.re
androidx-test-espresso-idling = { module = "androidx.test.espresso:espresso-idling-resource", version.ref = "androidx-test-espresso" }

# Build utils
r8 = { module = "com.android.tools:r8", version.ref = "r8" }
guava = { module = "com.google.guava:guava", version.ref = "guava" }
desugar = { module = "com.android.tools:desugar_jdk_libs_nio", version.ref = "desguar-jdk" }

Expand All @@ -156,6 +154,6 @@ androidx = ["androidx-core-ktx", "androidx-preference", "androidx-work-runtime",
androidx-room = ["androidx-room-runtime", "androidx-room-ktx"]
androidx-test = ["androidx-test-junit", "androidx-test-core-ktx", "androidx-test-rules", "androidx-test-runner"]
androidx-test-util = ["androidx-test-services", "androidx-test-orchestrator"]
buildscript = ["r8", "guava"]
buildscript = ["guava"]
objectbox-migration = ["lmdb-kt", "slf4j-simple", "slf4j-timber", "flatbuffers"]
kmqtt = ["kmqtt-broker", "kmqtt-common"]

0 comments on commit 8342dc5

Please sign in to comment.