Skip to content

Commit 01d6b65

Browse files
committed
use local aar file
1 parent e20ac5b commit 01d6b65

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

react-native-meridian-maps/android/build.gradle

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,23 +76,25 @@ repositories {
7676
mavenCentral()
7777
google()
7878
flatDir {
79-
dirs 'libs'
80-
}
79+
dirs "$projectDir/libs"
80+
}
8181
}
8282

8383
def kotlin_version = getExtOrDefault("kotlinVersion")
8484

8585
dependencies {
8686
implementation "com.facebook.react:react-android"
8787
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
88-
implementation files('libs/meridian-11.1.0.aar')
88+
// implementation(name: 'meridian-11.1.0', ext: 'aar')
89+
implementation(files("$projectDir/libs/meridian-11.2.0.aar"))
8990

9091
// Meridian SDK and its dependencies - specify the file path to the AAR file
9192
implementation 'com.android.volley:volley:1.2.1'
9293
implementation 'com.squareup:otto:1.3.8'
9394
implementation 'org.conscrypt:conscrypt-android:2.5.2'
9495
implementation 'com.google.android.material:material:1.9.0'
9596
implementation 'com.lemmingapex.trilateration:trilateration:1.0.2'
97+
implementation 'androidx.preference:preference:1.2.1'
9698

9799
// Required for GPS on Android devices
98100
implementation 'com.google.android.gms:play-services-location:21.0.1'

0 commit comments

Comments
 (0)