Skip to content

Commit

Permalink
chore: updating libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
kikoso committed Aug 10, 2023
1 parent 006ddd6 commit e4953e0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fun GoogleMapClustering() {
singapore2.latitude + Random.nextFloat(),
singapore2.longitude + Random.nextFloat(),
)
items.add(MyItem(position, "Marker", "Snippet"))
items.add(MyItem(position, "Marker", "Snippet", 0f))
}
}
GoogleMapClustering(items = items)
Expand Down Expand Up @@ -113,6 +113,7 @@ data class MyItem(
val itemPosition: LatLng,
val itemTitle: String,
val itemSnippet: String,
val itemZIndex: Float,
) : ClusterItem {
override fun getPosition(): LatLng =
itemPosition
Expand All @@ -122,4 +123,7 @@ data class MyItem(

override fun getSnippet(): String =
itemSnippet

override fun getZIndex(): Float =
itemZIndex
}
14 changes: 7 additions & 7 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ agp = "7.3.1"
androidxtest = "1.5.0"
compose-bom = "2022.11.00"
composecompiler = "1.3.2"
coroutines = "1.6.0"
coroutines = "1.7.0"
dokka = "1.5.0"
espresso = "3.4.0"
espresso = "3.5.1"
jacoco-plugin = "0.2"
jacoco-tool-plugin = "0.8.7"
junitktx = "1.1.3"
junitktx = "1.1.5"
junit = "4.13.2"
kotlin = "1.7.20"
material = "1.5.0"
maps = "3.3.0"
material = "1.9.0"
maps = "3.4.0"
mapsecrets = "2.0.1"

[libraries]
Expand All @@ -39,11 +39,11 @@ kotlin = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk7", version.ref = "ko
kotlin-gradle-plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
maps-ktx-std = { module = "com.google.maps.android:maps-ktx", version.ref = "maps" }
maps-ktx-utils = { module = "com.google.maps.android:maps-utils-ktx", version.ref = "maps" }
maps-utils = { module = "com.google.maps.android:android-maps-utils", version.require = "2.3.0" }
maps-utils = { module = "com.google.maps.android:android-maps-utils", version.require = "3.5.2" }
maps-playservice = { module = "com.google.android.gms:play-services-maps", version.require = "18.1.0" }
maps-secrets-plugin = { module = "com.google.android.libraries.mapsplatform.secrets-gradle-plugin:secrets-gradle-plugin", version.ref = "mapsecrets" }
material = { module = "com.google.android.material:material", version.ref = "material" }
test-junit = { module = "junit:junit", version.ref = "junit" }

[plugins]
dokka = { id = "org.jetbrains.dokka", version.ref = "dokka" }
dokka = { id = "org.jetbrains.dokka", version.ref = "dokka" }

0 comments on commit e4953e0

Please sign in to comment.