44// you may not use this file except in compliance with the License.
55// You may obtain a copy of the License at
66//
7- // http://www.apache.org/licenses/LICENSE-2.0
7+ // http://www.apache.org/licenses/LICENSE-2.0
88//
99// Unless required by applicable law or agreed to in writing, software
1010// distributed under the License is distributed on an "AS IS" BASIS,
1515import groovy.json.JsonSlurper
1616
1717buildscript {
18- ext. kotlin_version = ' 2.1.21'
19- repositories {
20- google()
21- mavenCentral()
22- }
18+ ext. kotlin_version = ' 2.1.21'
19+ repositories {
20+ google()
21+ mavenCentral()
22+ }
2323
24- dependencies {
25- classpath( " com.android.tools.build:gradle:8.4.0 " )
26- classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
27- }
24+ dependencies {
25+ classpath " com.android.tools.build:gradle:8.7.2 "
26+ classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
27+ }
2828}
2929
3030def isNewArchitectureEnabled () {
@@ -38,44 +38,50 @@ if (isNewArchitectureEnabled()) {
3838}
3939
4040android {
41- namespace " com.google.android.react.navsdk"
42- compileSdkVersion 35
41+ namespace " com.google.android.react.navsdk"
42+ compileSdkVersion 35
4343
44- compileOptions {
45- sourceCompatibility JavaVersion . VERSION_1_8
46- targetCompatibility JavaVersion . VERSION_1_8
47- }
44+ compileOptions {
45+ sourceCompatibility JavaVersion . VERSION_1_8
46+ targetCompatibility JavaVersion . VERSION_1_8
47+ }
4848
49- defaultConfig {
50- minSdkVersion 24
51- targetSdkVersion 34
52- versionCode 1
53- // get version name from package.json version
54- versionName " 1.0"
55- }
49+ defaultConfig {
50+ minSdkVersion 24
51+ targetSdkVersion 34
52+ }
5653
57- buildTypes {
58- release {
59- minifyEnabled true
60- }
61- }
54+ buildFeatures {
55+ buildConfig true
56+ }
6257
63- lintOptions {
64- abortOnError false
65- disable " GradleCompatible "
58+ buildTypes {
59+ release {
60+ minifyEnabled true
6661 }
62+ }
63+
64+ lintOptions {
65+ abortOnError false
66+ disable " GradleCompatible"
67+ }
68+
69+ compileOptions {
70+ sourceCompatibility JavaVersion . VERSION_1_8
71+ targetCompatibility JavaVersion . VERSION_1_8
72+ }
6773}
6874
6975repositories {
70- google()
71- mavenCentral()
76+ google()
77+ mavenCentral()
7278}
7379
7480dependencies {
75- implementation " androidx.car.app:app:1.4.0 "
76- implementation " androidx.car.app:app-projected :1.4.0"
77- implementation ' com.facebook.react:react-native:+ '
78- implementation ' androidx.constraintlayout:constraintlayout:2.1.4'
79- implementation " com.google.android.libraries.navigation:navigation:6.3.1"
80- api ' com.google.guava:guava:31.0.1-android'
81+ implementation ' com.facebook.react:react-native:+ '
82+ implementation " androidx.car.app:app:1.4.0"
83+ implementation " androidx.car.app:app-projected:1.4.0 "
84+ implementation ' androidx.constraintlayout:constraintlayout:2.1.4'
85+ implementation " com.google.android.libraries.navigation:navigation:6.3.1"
86+ api ' com.google.guava:guava:31.0.1-android'
8187}
0 commit comments