Skip to content

Commit ca0d97a

Browse files
chore: bump Android NavSDK to latest available (5.2.3) (#91)
1 parent f1b9e57 commit ca0d97a

File tree

2 files changed

+13
-25
lines changed

2 files changed

+13
-25
lines changed

SampleApp/android/app/build.gradle

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@
1414
plugins {
1515
id "com.google.cloud.artifactregistry.gradle-plugin" version "2.1.5"
1616
}
17-
18-
repositories {
19-
maven {
20-
url "artifactregistry://us-west2-maven.pkg.dev/gmp-artifacts/transportation"
21-
}
22-
}
2317
apply plugin: "com.android.application"
2418
apply plugin: "com.facebook.react"
2519

android/build.gradle

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
import groovy.json.JsonSlurper
1616

17-
1817
def getApiKey(){
1918
def Properties props = new Properties()
2019
props.load(new FileInputStream(new File('local.properties')))
@@ -29,18 +28,25 @@ buildscript {
2928

3029
dependencies {
3130
classpath("com.android.tools.build:gradle:7.2.1")
31+
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0")
3232
}
3333
}
3434

3535
plugins {
3636
id "com.google.cloud.artifactregistry.gradle-plugin" version "2.1.5"
3737
}
3838
apply plugin: 'com.android.library'
39+
apply plugin: 'kotlin-android'
3940

4041
android {
4142
buildToolsVersion = "31.0.0"
4243
compileSdkVersion = 31
4344

45+
compileOptions {
46+
sourceCompatibility JavaVersion.VERSION_1_8
47+
targetCompatibility JavaVersion.VERSION_1_8
48+
}
49+
4450
defaultConfig {
4551
minSdkVersion 23
4652
targetSdkVersion 31
@@ -49,35 +55,23 @@ android {
4955
versionName "1.0"
5056
manifestPlaceholders = [ MAPS_API_KEY:getApiKey()]
5157
}
58+
5259
lintOptions {
5360
abortOnError false
5461
}
62+
63+
kotlinOptions {
64+
jvmTarget = '1.8'
65+
}
5566
}
5667

5768
repositories {
5869
google()
5970
mavenCentral()
60-
maven {
61-
url "artifactregistry://us-west2-maven.pkg.dev/gmp-artifacts/transportation"
62-
}
6371
}
6472

6573
dependencies {
6674
implementation 'com.facebook.react:react-native:+'
67-
implementation 'androidx.appcompat:appcompat:1.4.2'
68-
implementation 'com.google.android.material:material:1.4.0'
69-
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
7075
implementation 'com.android.support:multidex:1.0.3'
71-
implementation 'com.google.android.libraries.navigation:navigation:4.5.0'
72-
73-
api "org.chromium.net:cronet-fallback:76.3809.111"
74-
api "joda-time:joda-time:2.10.14"
75-
api "com.google.android.datatransport:transport-api:3.0.0"
76-
api "com.google.android.datatransport:transport-backend-cct:3.1.4"
77-
api "com.google.android.datatransport:transport-runtime:3.1.4"
78-
api 'com.github.bumptech.glide:glide:4.9.0'
79-
api 'com.github.bumptech.glide:okhttp-integration:4.9.0'
80-
api "androidx.mediarouter:mediarouter:1.3.0"
81-
api 'com.google.guava:guava:31.0.1-android'
82-
76+
implementation 'com.google.android.libraries.navigation:navigation:5.2.3"
8377
}

0 commit comments

Comments
 (0)