Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix qa test app crash #6320

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,11 @@ allprojects {
// we allow access to snapshots repo if ALLOW_SNAPSHOT_REPOSITORY is set, what means we are running on CI
// with Navigation Native forced to be some snapshot version
// if you need to use snapshots while development, just set `addSnapshotsRepo` to true manually
def addSnapshotsRepo = project.hasProperty('ALLOW_SNAPSHOT_REPOSITORY') ? project.property('ALLOW_SNAPSHOT_REPOSITORY') : (System.getenv("ALLOW_SNAPSHOT_REPOSITORY")?.toBoolean() ?: false)
if (addSnapshotsRepo) {
//def addSnapshotsRepo = project.hasProperty('ALLOW_SNAPSHOT_REPOSITORY') ? project.property('ALLOW_SNAPSHOT_REPOSITORY') : (System.getenv("ALLOW_SNAPSHOT_REPOSITORY")?.toBoolean() ?: false)
// TODO https://mapbox.atlassian.net/browse/NAVSDK-544
// snapshots are enabled for libnavui-androidauto
// delete after 2.8.0-rc.1 is available
if (true) {
println("Snapshot repository reference added.")
maven {
url 'https://api.mapbox.com/downloads/v2/snapshots/maven'
Expand Down
5 changes: 4 additions & 1 deletion libnavui-androidauto/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ dependencies {
// This defines the minimum version of Maps, Navigation, and Search which are included in
// this SDK. To upgrade the SDK versions, you can specify a newer version in your downstream
// build.gradle.
def carNavVersion = "2.8.0-beta.3"
// TODO https://mapbox.atlassian.net/browse/NAVSDK-544
// incompatible change requires a 2.8.0 release
// change to the 2.8.0-rc.1 when available
def carNavVersion = "2.9.0-SNAPSHOT"
def carSearchVersion = "1.0.0-beta.35"
api("com.mapbox.navigation:android:${carNavVersion}")
api("com.mapbox.search:mapbox-search-android:${carSearchVersion}")
Expand Down