Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ mavenCentralPassword=
mavenCentralAutomaticRelease=false
android.builtInKotlin=false
android.newDsl=false
android.suppressUnsupportedCompileSdk=37
7 changes: 4 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ kotlinxCoroutinesPlayServices = "1.10.2"
ksp = "2.3.2"
lifecycleRuntimeKtx = "2.10.0"
lifecycleViewmodelCompose = "2.10.0"
mapsCompose = "8.3.0"
mapsUtilsKtx = "6.0.1"
mapsCompose = "9.0.0-rc01"
mapsUtils = "6.0.0-rc01"
material-icons = "1.7.8"
materialVersion = "1.13.0"
navigationCompose = "2.9.8"
Expand Down Expand Up @@ -66,7 +66,8 @@ kotlinx-coroutines-play-services = { group = "org.jetbrains.kotlinx", name = "ko
maps-compose = { group = "com.google.maps.android", name = "maps-compose", version.ref = "mapsCompose" }
maps-compose-utils = { module = "com.google.maps.android:maps-compose-utils", version.ref = "mapsCompose" }
maps-compose-widgets = { module = "com.google.maps.android:maps-compose-widgets", version.ref = "mapsCompose" }
maps-utils-ktx = { module = "com.google.maps.android:maps-utils-ktx", version.ref = "mapsUtilsKtx" }
android-maps-utils = { module = "com.google.maps.android:android-maps-utils", version.ref = "mapsUtils" }
android-maps-utils-core = { module = "com.google.maps.android:android-maps-utils-core", version.ref = "mapsUtils" }
material = { group = "com.google.android.material", name = "material", version.ref = "materialVersion" }
org-jacoco-core = { module = "org.jacoco:org.jacoco.core", version.ref = "org-jacoco-core" }
places = { group = "com.google.android.libraries.places", name = "places", version.ref = "places" }
Expand Down
8 changes: 6 additions & 2 deletions places-compose-demo/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@ plugins {
alias(libs.plugins.compose.compiler)
}

hilt {
enableAggregatingTask = false
}

android {
lint {
sarifOutput = layout.buildDirectory.file("reports/lint-results.sarif").get().asFile
}

namespace = "com.google.android.libraries.places.compose.demo"
compileSdk = 36
compileSdk = 37

defaultConfig {
applicationId = "com.google.android.libraries.places.compose.demo"
Expand Down Expand Up @@ -109,7 +113,7 @@ dependencies {
implementation(libs.maps.compose)
implementation(libs.maps.compose.utils)
implementation(libs.maps.compose.widgets)
implementation(libs.maps.utils.ktx)
implementation(libs.android.maps.utils)

// Accompanist permission helper
implementation(libs.accompanist.permissions)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import kotlinx.coroutines.flow.mapNotNull
import kotlinx.coroutines.flow.stateIn
import javax.inject.Inject
import kotlin.time.Duration.Companion.seconds
import com.google.maps.android.ktx.utils.sphericalDistance
import com.google.maps.android.sphericalDistance
import kotlinx.coroutines.flow.combine
import kotlinx.coroutines.flow.filter
import kotlinx.coroutines.flow.filterNotNull
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ import com.google.android.libraries.places.compose.demo.data.repositories.Geocod
import com.google.android.libraries.places.compose.demo.data.repositories.LocationRepository
import com.google.android.libraries.places.compose.demo.presentation.landmark.GetLocationPermission
import com.google.android.libraries.places.compose.demo.ui.theme.AndroidPlacesComposeDemoTheme
import com.google.maps.android.ktx.utils.withSphericalOffset
import com.google.maps.android.withSphericalOffset
import kotlinx.coroutines.DelicateCoroutinesApi
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.FlowPreview
Expand Down
2 changes: 1 addition & 1 deletion places-compose/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ android {
}

namespace = "com.google.android.libraries.places.compose"
compileSdk = 36
compileSdk = 37

defaultConfig {
minSdk = 24
Expand Down
1 change: 1 addition & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ plugins {
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenLocal()
google()
mavenCentral()
}
Expand Down
Loading