Skip to content

Commit

Permalink
feature: Clean gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
Raph committed Aug 12, 2024
1 parent bfa6b79 commit d3bc03c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
5 changes: 3 additions & 2 deletions composeApp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,10 @@ kotlin {
implementation(libs.ktor.contentnegociation)
implementation(libs.ktor.logging)

implementation("org.jetbrains.androidx.lifecycle:lifecycle-viewmodel:2.8.0")
implementation("org.jetbrains.androidx.navigation:navigation-compose:2.7.0-alpha07")
implementation(libs.kotlin.lifecycle.viewmodel)
implementation(libs.kotlin.navigation.compose)
}

iosMain.dependencies {
implementation(libs.ktor.darwin)
}
Expand Down
9 changes: 8 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@ compose-compiler = "1.5.4"
compose-material3 = "1.2.1"
connectivity = "1.1.0"
androidx-activityCompose = "1.9.0"
lifecycleViewmodel = "2.8.0"
lorraine = "0.0.1"
android-compileSdk = "34"
android-minSdk = "24"
android-targetSdk = "34"
navigationCompose = "2.7.0-alpha07"

[libraries]
kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }
androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidx-activityCompose" }

compose-ui = { module = "androidx.compose.ui:ui", version.ref = "compose" }
compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling", version.ref = "compose" }
compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview", version.ref = "compose" }
Expand All @@ -25,13 +27,18 @@ connectivity-core = { module = "dev.jordond.connectivity:connectivity-core", ver
connectivity-device = { module = "dev.jordond.connectivity:connectivity-device", version.ref = "connectivity" }
connectivity-apple = { module = "dev.jordond.connectivity:connectivity-apple", version.ref = "connectivity" }

kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }

ktor-core = { group = "io.ktor", name = "ktor-client-core", version.ref = "ktor" }
ktor-serializarion = { group = "io.ktor", name = "ktor-serialization-kotlinx-json", version.ref = "ktor"}
ktor-logging = { group = "io.ktor", name = "ktor-client-logging", version.ref = "ktor" }
ktor-okhttp = { group = "io.ktor", name = "ktor-client-okhttp", version.ref = "ktor" }
ktor-darwin = { group = "io.ktor", name = "ktor-client-darwin", version.ref = "ktor" }
ktor-contentnegociation = { group = "io.ktor", name = "ktor-client-content-negotiation", version.ref = "ktor"}

kotlin-lifecycle-viewmodel = { module = "org.jetbrains.androidx.lifecycle:lifecycle-viewmodel", version.ref = "lifecycleViewmodel" }
kotlin-navigation-compose = { module = "org.jetbrains.androidx.navigation:navigation-compose", version.ref = "navigationCompose" }

lorraine = { module = "fr.dot.lorraine:lorraine", version.ref = "lorraine" }

[plugins]
Expand Down

0 comments on commit d3bc03c

Please sign in to comment.