Skip to content

Commit

Permalink
[#136] Remove android compose dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafaozhan committed May 19, 2024
1 parent 9a76974 commit c592555
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
10 changes: 6 additions & 4 deletions android/android.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ plugins {
libs.plugins.apply {
alias(androidApplication)
alias(kotlinAndroid)
alias(jetbrainsCompose)
}
}

Expand Down Expand Up @@ -34,11 +35,12 @@ android {
dependencies {
implementation(project(":client"))

compose.apply {
implementation(ui)
implementation(preview)
debugImplementation(uiTooling)
}
libs.android.apply {
implementation(composeUi)
implementation(composeUiToolingPreview)
implementation(activityCompose)

debugImplementation(composeUiTooling)
}
}
8 changes: 2 additions & 6 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@
kotlin = "1.9.23"
detekt = "1.23.6"
kover = "0.6.1"
compose = "1.6.7"
jetbrainsCompose = "1.6.2"
composeCompiler = "1.5.13"
androidGradlePlugin = "8.4.0"
androidx-activityCompose = "1.9.0"
activityCompose = "1.9.0"

[libraries]
# COMMON
Expand All @@ -15,10 +14,7 @@ common-ComposeCompiler = { module = "androidx.compose.compiler:compiler", versio
common-detektFormatting = { module = "io.gitlab.arturbosch.detekt:detekt-formatting", version.ref = "detekt" }

# ANDROID
android-activityCompose = { module = "androidx.activity:activity-compose", version.ref = "androidx-activityCompose" }
android-composeUi = { module = "androidx.compose.ui:ui", version.ref = "compose" }
android-composeUiTooling = { module = "androidx.compose.ui:ui-tooling", version.ref = "compose" }
android-composeUiToolingPreview = { module = "androidx.compose.ui:ui-tooling-preview", version.ref = "compose" }
android-activityCompose = { module = "androidx.activity:activity-compose", version.ref = "activityCompose" }

[plugins]
jetbrainsCompose = { id = "org.jetbrains.compose", version.ref = "jetbrainsCompose" }
Expand Down

0 comments on commit c592555

Please sign in to comment.