Skip to content

Commit

Permalink
Minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
kirich1409 committed Jun 21, 2024
1 parent 932f113 commit 5e417fc
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
14 changes: 12 additions & 2 deletions core/uikit/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,13 @@ kotlin {
api(compose.runtime)
api(compose.foundation)
api(compose.material3)
api(compose.uiUtil)
implementation(compose.components.uiToolingPreview)
api(compose.components.resources)
api(compose.components.uiToolingPreview)
}

androidMain.dependencies {
implementation(compose.preview)

implementation(libs.androidx.core.ktx)
// Need only for debug
implementation(libs.androidx.compose.ui.tooling)
Expand All @@ -64,4 +66,12 @@ android {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

buildFeatures {
compose = true
}

dependencies {
debugImplementation(compose.uiTooling)
}
}
4 changes: 4 additions & 0 deletions features/news-main/ui/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ android {
buildFeatures {
compose = true
}

dependencies {
debugImplementation(compose.uiTooling)
}
}

composeCompiler {
Expand Down
Binary file not shown.

0 comments on commit 5e417fc

Please sign in to comment.