Skip to content

Commit

Permalink
🔧 (#33) PreCompose を導入
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsutakein committed Nov 22, 2023
1 parent 9b4ed6d commit bed992b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ dependencies {
implementation(projects.feature.schedule)
implementation(projects.feature.settings)

implementation(libs.precompose)
implementation(libs.composeNavigation)
implementation(libs.composeHiltNavigtation)
implementation(libs.composeMaterialWindowSize)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ class KmpComposePlugin : Plugin<Project> {
implementation(compose.dependencies.material3)
@OptIn(org.jetbrains.compose.ExperimentalComposeLibrary::class)
implementation(compose.dependencies.components.resources)

implementation(libs.library("precompose"))
}
}
getByName("androidMain").apply {
Expand Down
5 changes: 5 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ supabase = "1.4.5"
logback = "1.4.11"
graphqlKotlin = "7.0.2"
kotest = "5.8.0"
precompose = "1.5.7"

[libraries]
androidGradlePlugin = { group = "com.android.tools.build", name = "gradle", version.ref = "androidGradlePlugin" }
Expand Down Expand Up @@ -156,6 +157,10 @@ ktorfitKsp = { module = "de.jensklingenberg.ktorfit:ktorfit-ksp", version.ref =

ossLicenses = { module = "com.google.android.gms:play-services-oss-licenses", version.ref = "ossLicenses" }

precompose = { module = "moe.tlaster:precompose", version.ref = "precompose" }
precomposeViewmodel = { module = "moe.tlaster:precompose-viewmodel", version.ref = "precompose" }
precomposeKoin = { module = "moe.tlaster:precompose-koin", version.ref = "precompose" }

junit = { module = "junit:junit", version.ref = "junit" }
androidxTestExtJunit = { module = "androidx.test.ext:junit", version.ref = "androidxTestExt" }
androidxTestEspressoEspressoCore = { module = "androidx.test.espresso:espresso-core", version.ref = "androidxTestEspresso" }
Expand Down

0 comments on commit bed992b

Please sign in to comment.