Skip to content

Commit

Permalink
chore(gradle): rename toml file keys for dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
GerardPaligot committed Mar 7, 2024
1 parent af67ed3 commit 340d60e
Show file tree
Hide file tree
Showing 30 changed files with 174 additions and 173 deletions.
6 changes: 3 additions & 3 deletions androidApp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -79,16 +79,16 @@ dependencies {
implementation(projects.shared.coreDi)
implementation(libs.settings)

implementation(libs.android.material)
implementation(libs.google.material)

implementation(libs.androidx.appcompat)
implementation(libs.androidx.browser)

implementation(platform(libs.androidx.compose.bom))
implementation(libs.androidx.compose.material3.windowsizeclass)
implementation(libs.androidx.compose.ui)
implementation(libs.androidx.compose.activity)
implementation(libs.androidx.compose.navigation)
implementation(libs.androidx.activity.compose)
implementation(libs.androidx.navigation.compose)
implementation(libs.androidx.profile)
implementation(libs.androidx.workmanager.ktx)

Expand Down
8 changes: 4 additions & 4 deletions backend/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ plugins {

dependencies {
implementation(projects.shared.models)
implementation(libs.kotlinx.coroutines)
implementation(libs.kotlinx.datetime)
implementation(libs.jetbrains.kotlinx.coroutines)
implementation(libs.jetbrains.kotlinx.datetime)

implementation(libs.ktor.server.core)
implementation(libs.ktor.server.netty)
Expand All @@ -27,8 +27,8 @@ dependencies {

implementation(libs.ktor.serialization.json)

implementation(libs.apache.batik.transcoder)
implementation(libs.apache.batik.codec)
implementation(libs.apache.xmlgraphics.batik.transcoder)
implementation(libs.apache.xmlgraphics.batik.codec)

implementation(libs.logback)

Expand Down
2 changes: 1 addition & 1 deletion build-logic/plugins/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repositories {
dependencies {
implementation(gradleApi())
implementation(libs.android.gradlePlugin)
implementation(libs.kotlin.gradlePlugin)
implementation(libs.jetbrains.kotlin.gradlePlugin)
implementation(libs.ktlint.gradlePlugin)
implementation(libs.detekt.gradlePlugin)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ internal fun Project.configureAndroidCompose(
}

composeOptions {
kotlinCompilerExtensionVersion = libs.findVersion("composeCompiler").get().toString()
kotlinCompilerExtensionVersion = libs.findVersion("androidx-compose-compiler").get().toString()
}
}
dependencies {
Expand Down
8 changes: 4 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ buildscript {
mavenCentral()
}
dependencies {
classpath(libs.kotlin.gradlePlugin)
classpath(libs.kotlin.serialization)
classpath(libs.kmp.native.coroutines)
classpath(libs.sqldelight.gradlePlugin)
classpath(libs.jetbrains.kotlin.gradlePlugin)
classpath(libs.jetbrains.kotlin.serialization.gradlePlugin)
classpath(libs.kmp.nativecoroutines.gradlePlugin)
classpath(libs.cash.sqldelight.gradlePlugin)
classpath(libs.google.services.gradlePlugin)
classpath(libs.google.firebase.crashlytics.gradlePlugin)
classpath(libs.android.gradlePlugin)
Expand Down
211 changes: 106 additions & 105 deletions gradle/libs.versions.toml

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions shared/core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ kotlin {
dependencies {
api(projects.shared.models)
api(projects.shared.uiModels)
implementation(libs.kotlinx.coroutines)
implementation(libs.jetbrains.kotlinx.coroutines)

implementation(libs.ktor.client.core)
implementation(libs.ktor.client.json)
Expand All @@ -47,12 +47,12 @@ kotlin {
implementation(libs.ktor.client.negotiation)
implementation(libs.ktor.serialization.json)

implementation(libs.kotlinx.datetime)
implementation(libs.kotlinx.collections)
implementation(libs.jetbrains.kotlinx.datetime)
implementation(libs.jetbrains.kotlinx.collections)

implementation(libs.sqldelight.runtime)
implementation(libs.sqldelight.coroutines)
implementation(libs.okio)
implementation(libs.cash.sqldelight.runtime)
implementation(libs.cash.sqldelight.coroutines)
implementation(libs.squareup.okio)

api(libs.settings)
implementation(libs.settings.coroutines)
Expand All @@ -68,9 +68,9 @@ kotlin {
dependencies {
implementation(projects.themeM3.style.theme)
implementation(libs.ktor.client.android)
implementation(libs.sqldelight.android)
implementation(libs.zxing)
implementation(libs.zxing.android)
implementation(libs.cash.sqldelight.android)
implementation(libs.google.zxing)
implementation(libs.zxing.android.embedded)
}
}
val androidUnitTest by getting {
Expand All @@ -90,7 +90,7 @@ kotlin {
iosSimulatorArm64Main.dependsOn(this)
dependencies {
implementation(libs.ktor.client.ios)
implementation(libs.sqldelight.native)
implementation(libs.cash.sqldelight.native)
}
}
val iosX64Test by getting
Expand Down
2 changes: 1 addition & 1 deletion shared/models/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ kotlin {
dependencies {
implementation(libs.ktor.client.serialization)
implementation(libs.ktor.serialization.json)
implementation(libs.kotlinx.datetime)
implementation(libs.jetbrains.kotlinx.datetime)
}
}
val androidMain by getting
Expand Down
2 changes: 1 addition & 1 deletion shared/ui-models/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ kotlin {
sourceSets {
val commonMain by getting {
dependencies {
implementation(libs.kotlinx.collections)
implementation(libs.jetbrains.kotlinx.collections)
}
}
val androidMain by getting
Expand Down
6 changes: 3 additions & 3 deletions theme-m3/event-list/event-list-feature/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ dependencies {

implementation(libs.koin.androidx.compose)

implementation(libs.kotlinx.collections)
implementation(libs.jetbrains.kotlinx.collections)

implementation(platform(libs.androidx.compose.bom))
implementation(libs.androidx.compose.material3)
implementation(libs.androidx.compose.tooling)
implementation(libs.androidx.compose.lifecycle)
implementation(libs.androidx.lifecycle.vm)
implementation(libs.androidx.lifecycle.viewmodel)

implementation(platform(libs.google.firebase))
implementation(platform(libs.google.firebase.bom))
implementation("com.google.firebase:firebase-crashlytics-ktx")
}
2 changes: 1 addition & 1 deletion theme-m3/event-list/event-list-ui/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ dependencies {
implementation(libs.androidx.compose.material3)
implementation(libs.androidx.compose.tooling)

implementation(libs.kotlinx.collections)
implementation(libs.jetbrains.kotlinx.collections)
}
8 changes: 4 additions & 4 deletions theme-m3/infos/infos-feature/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ dependencies {

implementation(libs.koin.androidx.compose)

implementation(libs.kotlinx.collections)
implementation(libs.jetbrains.kotlinx.collections)

implementation(platform(libs.androidx.compose.bom))
implementation(libs.androidx.compose.material3)
implementation(libs.androidx.compose.tooling)
implementation(libs.androidx.compose.lifecycle)
implementation(libs.androidx.lifecycle.vm)
implementation(libs.compose.richtext)
implementation(libs.androidx.lifecycle.viewmodel)
implementation(libs.richtext.commonmark)

implementation(platform(libs.google.firebase))
implementation(platform(libs.google.firebase.bom))
implementation("com.google.firebase:firebase-crashlytics-ktx")
}
4 changes: 2 additions & 2 deletions theme-m3/infos/infos-ui/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ dependencies {
implementation(projects.themeM3.navigation)
implementation(projects.themeM3.style.theme)

implementation(libs.kotlinx.collections)
implementation(libs.jetbrains.kotlinx.collections)

implementation(platform(libs.androidx.compose.bom))
implementation(libs.androidx.compose.material3)
implementation(libs.androidx.compose.tooling)
implementation(libs.androidx.compose.icons)
implementation(libs.compose.richtext)
implementation(libs.richtext.commonmark)
}
6 changes: 3 additions & 3 deletions theme-m3/main/main/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ dependencies {
implementation(libs.androidx.compose.tooling)
implementation(libs.androidx.compose.lifecycle)
implementation(libs.androidx.compose.runtime)
implementation(libs.androidx.compose.navigation)
implementation(libs.androidx.navigation.compose)

implementation(libs.kotlinx.collections)
implementation(libs.jetbrains.kotlinx.collections)

implementation(platform(libs.google.firebase))
implementation(platform(libs.google.firebase.bom))
implementation("com.google.firebase:firebase-crashlytics-ktx")
}
6 changes: 3 additions & 3 deletions theme-m3/networking/networking-feature/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ dependencies {

implementation(libs.koin.androidx.compose)

implementation(libs.kotlinx.collections)
implementation(libs.jetbrains.kotlinx.collections)

implementation(platform(libs.androidx.compose.bom))
implementation(libs.androidx.compose.material3)
implementation(libs.androidx.compose.tooling)
implementation(libs.androidx.compose.lifecycle)
implementation(libs.androidx.lifecycle.vm)
implementation(libs.androidx.lifecycle.viewmodel)

implementation(platform(libs.google.firebase))
implementation(platform(libs.google.firebase.bom))
implementation("com.google.firebase:firebase-crashlytics-ktx")
}
2 changes: 1 addition & 1 deletion theme-m3/networking/networking-screens/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies {
implementation(projects.themeM3.style.networking)
implementation(projects.themeM3.style.theme)

implementation(libs.kotlinx.collections)
implementation(libs.jetbrains.kotlinx.collections)

implementation(platform(libs.androidx.compose.bom))
implementation(libs.androidx.compose.material3)
Expand Down
2 changes: 1 addition & 1 deletion theme-m3/networking/networking-ui/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies {
implementation(projects.themeM3.navigation)
implementation(projects.themeM3.style.theme)

implementation(libs.kotlinx.collections)
implementation(libs.jetbrains.kotlinx.collections)

implementation(platform(libs.androidx.compose.bom))
implementation(libs.androidx.compose.material3)
Expand Down
6 changes: 3 additions & 3 deletions theme-m3/partners/partners-feature/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ dependencies {

implementation(libs.koin.androidx.compose)

implementation(libs.kotlinx.collections)
implementation(libs.jetbrains.kotlinx.collections)

implementation(platform(libs.androidx.compose.bom))
implementation(libs.androidx.compose.material3)
implementation(libs.androidx.compose.material3.adaptive)
implementation(libs.androidx.compose.tooling)
implementation(libs.androidx.compose.lifecycle)
implementation(libs.androidx.lifecycle.vm)
implementation(libs.androidx.lifecycle.viewmodel)

implementation(platform(libs.google.firebase))
implementation(platform(libs.google.firebase.bom))
implementation("com.google.firebase:firebase-crashlytics-ktx")
}
2 changes: 1 addition & 1 deletion theme-m3/partners/partners-screens/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies {
implementation(projects.themeM3.style.partners)
implementation(projects.themeM3.style.theme)

implementation(libs.kotlinx.collections)
implementation(libs.jetbrains.kotlinx.collections)

implementation(platform(libs.androidx.compose.bom))
implementation(libs.androidx.compose.material3)
Expand Down
2 changes: 1 addition & 1 deletion theme-m3/partners/partners-ui/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies {
implementation(projects.themeM3.style.partners)
implementation(projects.themeM3.style.theme)

implementation(libs.kotlinx.collections)
implementation(libs.jetbrains.kotlinx.collections)

implementation(platform(libs.androidx.compose.bom))
implementation(libs.androidx.compose.material3)
Expand Down
6 changes: 3 additions & 3 deletions theme-m3/schedules/schedules-feature/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ dependencies {

implementation(libs.koin.androidx.compose)

implementation(libs.kotlinx.collections)
implementation(libs.jetbrains.kotlinx.collections)

implementation(platform(libs.androidx.compose.bom))
implementation(libs.androidx.compose.material3)
implementation(libs.androidx.compose.material3.adaptive)
implementation(libs.androidx.compose.material3.adaptive.navigation.suite)
implementation(libs.androidx.compose.tooling)
implementation(libs.androidx.compose.lifecycle)
implementation(libs.androidx.lifecycle.vm)
implementation(libs.androidx.lifecycle.viewmodel)

implementation(platform(libs.google.firebase))
implementation(platform(libs.google.firebase.bom))
implementation("com.google.firebase:firebase-crashlytics-ktx")
}
2 changes: 1 addition & 1 deletion theme-m3/schedules/schedules-screens/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies {
implementation(projects.themeM3.style.speakers)
implementation(projects.themeM3.style.theme)

implementation(libs.kotlinx.collections)
implementation(libs.jetbrains.kotlinx.collections)

implementation(platform(libs.androidx.compose.bom))
implementation(libs.androidx.compose.material3)
Expand Down
6 changes: 3 additions & 3 deletions theme-m3/schedules/schedules-ui/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ dependencies {
implementation(projects.themeM3.style.speakers)
implementation(projects.themeM3.style.theme)

implementation(libs.kotlinx.collections)
implementation(libs.jetbrains.kotlinx.collections)

implementation(platform(libs.androidx.compose.bom))
implementation(libs.androidx.compose.material3)
implementation(libs.androidx.compose.tooling)
implementation(libs.androidx.compose.icons)
implementation(libs.compose.richtext)
api(libs.compose.openfeedback.m3)
implementation(libs.richtext.commonmark)
api(libs.openfeedback.m3)
}
6 changes: 3 additions & 3 deletions theme-m3/speakers/speakers-feature/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ dependencies {

implementation(libs.koin.androidx.compose)

implementation(libs.kotlinx.collections)
implementation(libs.jetbrains.kotlinx.collections)

implementation(platform(libs.androidx.compose.bom))
implementation(libs.androidx.compose.material3)
implementation(libs.androidx.compose.material3.adaptive)
implementation(libs.androidx.compose.tooling)
implementation(libs.androidx.compose.lifecycle)
implementation(libs.androidx.lifecycle.vm)
implementation(libs.androidx.lifecycle.viewmodel)

implementation(platform(libs.google.firebase))
implementation(platform(libs.google.firebase.bom))
implementation("com.google.firebase:firebase-crashlytics-ktx")
}
2 changes: 1 addition & 1 deletion theme-m3/speakers/speakers-screens/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies {
implementation(projects.themeM3.style.speakers)
implementation(projects.themeM3.style.theme)

implementation(libs.kotlinx.collections)
implementation(libs.jetbrains.kotlinx.collections)

implementation(platform(libs.androidx.compose.bom))
implementation(libs.androidx.compose.material3)
Expand Down
2 changes: 1 addition & 1 deletion theme-m3/speakers/speakers-ui/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ dependencies {

implementation(libs.coil.compose)

implementation(libs.kotlinx.collections)
implementation(libs.jetbrains.kotlinx.collections)
}
2 changes: 1 addition & 1 deletion theme-m3/style/schedules/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ dependencies {
implementation(libs.androidx.compose.tooling)
implementation(libs.androidx.compose.icons)

implementation(libs.kotlinx.collections)
implementation(libs.jetbrains.kotlinx.collections)
}
2 changes: 1 addition & 1 deletion theme-m3/style/speakers/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ dependencies {

implementation(libs.coil.compose)

implementation(libs.kotlinx.collections)
implementation(libs.jetbrains.kotlinx.collections)
}
10 changes: 5 additions & 5 deletions theme-m3/style/theme/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ dependencies {
implementation(libs.androidx.compose.tooling)
implementation(libs.androidx.compose.icons)

implementation(libs.accompanist.permissions)
implementation(libs.accompanist.placeholder)
implementation(libs.google.accompanist.permissions)
implementation(libs.google.accompanist.placeholder)

implementation(libs.kotlinx.collections)
implementation(libs.jetbrains.kotlinx.collections)

implementation(libs.compose.awesome.font)
implementation(libs.compose.richtext)
implementation(libs.font.awesome)
implementation(libs.richtext.commonmark)
}
Loading

0 comments on commit 340d60e

Please sign in to comment.