Skip to content

Commit daa0152

Browse files
committed
feat: correct imports, removed targetSdk
1 parent 5f069da commit daa0152

File tree

5 files changed

+11
-8
lines changed

5 files changed

+11
-8
lines changed

app/build.gradle.kts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,16 @@ android {
4444

4545
dependencies {
4646
// RxJava bindings for the Maps SDK
47-
implementation(libs.rxJava)
48-
implementation(libs.rxAndroid)
47+
implementation(libs.mapsRx)
48+
49+
// RxJava bindings for the Places SDK
50+
implementation(libs.placesRx)
4951

50-
// Latest Maps SDK, Places SDK, and RxJava
52+
// It is recommended to also include the latest Maps SDK, Places SDK and RxJava so you
53+
// have the latest features and bug fixes.
5154
implementation(libs.playServicesMaps)
5255
implementation(libs.places)
53-
54-
// Implementation for other dependencies
56+
implementation(libs.rxJava)
5557
implementation(libs.appCompat)
5658
implementation(libs.lifecycleRuntimeKtx)
5759
implementation(libs.material)

gradle/libs.versions.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,12 @@ material = "1.12.0"
1010
rxLifecycle = "4.0.2"
1111
mapsKtx = "5.1.1"
1212
volley = "1.2.1"
13+
mapsRx = "1.0.0"
14+
placesRx = "1.0.0"
1315

1416
[libraries]
17+
mapsRx = { module = "com.google.maps.android:maps-rx", version.ref = "mapsRx" }
18+
placesRx = { module = "com.google.maps.android:places-rx", version.ref = "placesRx" }
1519
jetbrainsKotlinStdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "kotlin" }
1620
kotlinStdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk8", version.ref = "kotlin" }
1721
rxJava = { module = "io.reactivex.rxjava3:rxjava", version.ref = "rxjava" }

maps-rx/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ android {
99

1010
defaultConfig {
1111
minSdk = 24
12-
targetSdk = 35
1312
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
1413
consumerProguardFiles("consumer-rules.pro")
1514
}

places-rx/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ android {
99

1010
defaultConfig {
1111
minSdk = 24
12-
targetSdk = 35
1312
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
1413
consumerProguardFiles("consumer-rules.pro")
1514
}

shared/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ android {
1313

1414
defaultConfig {
1515
minSdk = 24
16-
targetSdk = 35
1716
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
1817
consumerProguardFiles("consumer-rules.pro")
1918
}

0 commit comments

Comments
 (0)