Skip to content

Commit

Permalink
adds moko resources
Browse files Browse the repository at this point in the history
  • Loading branch information
Kagiri11 committed Feb 17, 2024
1 parent 6ff9e3b commit 6ee7396
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ buildscript {

dependencies {
classpath("com.google.gms:google-services:4.3.14")
classpath("dev.icerock.moko:resources-generator:0.23.0")
}
}

Expand Down
7 changes: 7 additions & 0 deletions shared/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ plugins {
kotlin("multiplatform")
id("com.android.library")
id("org.jetbrains.compose")
id("dev.icerock.mobile.multiplatform-resources")
}

multiplatformResources{
multiplatformResourcesPackage = "com.cmaina."
multiplatformResourcesClassName = "SharedResources"
}

kotlin {
Expand All @@ -19,6 +25,7 @@ kotlin {

val commonMain by getting {
dependencies {
implementation("dev.icerock.moko:resources-compose:0.23.0")
implementation(compose.material)
implementation(compose.foundation)
implementation ("io.github.aakira:napier:2.7.1")
Expand Down

0 comments on commit 6ee7396

Please sign in to comment.