Skip to content

Commit

Permalink
chore: added kotlin-coroutines dependency (#595)
Browse files Browse the repository at this point in the history
  • Loading branch information
el-qq authored Jul 8, 2024
1 parent f61713e commit b22fab2
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ dependencies {
implementation(libs.androidx.compose.foundation)
implementation(libs.androidx.compose.material)
implementation(libs.kotlin)
implementation(libs.kotlinx.coroutines.android)
implementation(libs.material)
implementation(libs.androidx.compose.ui.preview.tooling)
debugImplementation(libs.androidx.compose.ui.tooling)
Expand All @@ -62,7 +63,7 @@ dependencies {
androidTestImplementation(libs.androidx.test.junit.ktx)
androidTestImplementation(libs.test.junit)
androidTestImplementation(libs.androidx.test.compose.ui)
androidTestImplementation(libs.coroutines)
androidTestImplementation(libs.kotlinx.coroutines.test)

// Instead of the lines below, regular apps would load these libraries from Maven according to
// the README installation instructions
Expand Down
5 changes: 3 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ activitycompose = "1.9.0"
agp = "8.4.2"
androidxtest = "1.6.1"
compose-bom = "2024.06.00"
coroutines = "1.7.3"
dokka = "1.9.20"
espresso = "3.6.1"
jacoco-plugin = "0.2.1"
junitktx = "1.2.1"
junit = "4.13.2"
kotlin = "2.0.0"
kotlinxCoroutines = "1.8.1"
material = "1.12.0"
mapsktx = "5.1.0"
mapsecrets = "2.0.1"
Expand All @@ -32,11 +32,12 @@ androidx-test-espresso = { module = "androidx.test.espresso:espresso-core", vers
androidx-test-junit-ktx = { module = "androidx.test.ext:junit-ktx", version.ref = "junitktx" }
androidx-test-rules = { module = "androidx.test:rules", version.ref = "androidxtest" }
androidx-test-runner = { module = "androidx.test:runner", version.ref = "androidxtest" }
coroutines = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "coroutines" }
dokka-plugin = { module = "org.jetbrains.dokka:dokka-gradle-plugin", version.ref = "dokka" }
jacoco-android-plugin = { module = "com.mxalbert.gradle:jacoco-android", version.ref = "jacoco-plugin", version.require = "0.2.1" }
kotlin = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk7", version.ref = "kotlin" }
kotlin-gradle-plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "kotlinxCoroutines" }
kotlinx-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "kotlinxCoroutines" }
maps-ktx-std = { module = "com.google.maps.android:maps-ktx", version.ref = "mapsktx" }
maps-ktx-utils = { module = "com.google.maps.android:maps-utils-ktx", version.ref = "mapsktx" }
maps-secrets-plugin = { module = "com.google.android.libraries.mapsplatform.secrets-gradle-plugin:secrets-gradle-plugin", version.ref = "mapsecrets" }
Expand Down
1 change: 1 addition & 0 deletions maps-compose-utils/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,6 @@ dependencies {
implementation(platform(libs.androidx.compose.bom))
implementation(libs.androidx.compose.ui)
implementation(libs.kotlin)
implementation(libs.kotlinx.coroutines.android)
api(libs.maps.ktx.utils)
}
1 change: 1 addition & 0 deletions maps-compose-widgets/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ dependencies {
implementation(libs.androidx.compose.material)
implementation(libs.androidx.core)
implementation(libs.kotlin)
implementation(libs.kotlinx.coroutines.android)
api(libs.maps.ktx.std)
api(libs.maps.ktx.utils)

Expand Down
1 change: 1 addition & 0 deletions maps-compose/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ dependencies {
implementation(libs.androidx.core)
implementation(libs.androidx.compose.foundation)
implementation(libs.kotlin)
implementation(libs.kotlinx.coroutines.android)
api(libs.maps.ktx.std)

testImplementation(libs.test.junit)
Expand Down

0 comments on commit b22fab2

Please sign in to comment.