diff --git a/build.gradle b/build.gradle index e959361d65c..d047529d12c 100644 --- a/build.gradle +++ b/build.gradle @@ -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' diff --git a/libnavui-androidauto/build.gradle b/libnavui-androidauto/build.gradle index 3acf75f51eb..b1c8b76248c 100644 --- a/libnavui-androidauto/build.gradle +++ b/libnavui-androidauto/build.gradle @@ -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}")