mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 08:11:20 +00:00
Add resources component to multiplatform template (#2796)
This commit is contained in:
@@ -13,4 +13,4 @@ kotlin.mpp.androidSourceSetLayoutVersion=2
|
||||
kotlin.native.binary.memoryModel=experimental
|
||||
kotlin.version=1.8.0
|
||||
agp.version=7.1.3
|
||||
compose.version=1.4.0-alpha01-dev950
|
||||
compose.version=1.4.0-alpha01-dev954
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
@file:Suppress("OPT_IN_IS_NOT_ENABLED")
|
||||
|
||||
plugins {
|
||||
kotlin("multiplatform")
|
||||
kotlin("native.cocoapods")
|
||||
@@ -33,6 +35,8 @@ kotlin {
|
||||
implementation(compose.runtime)
|
||||
implementation(compose.foundation)
|
||||
implementation(compose.material)
|
||||
@OptIn(org.jetbrains.compose.ExperimentalComposeLibrary::class)
|
||||
implementation(compose.components.resources)
|
||||
}
|
||||
}
|
||||
val androidMain by getting {
|
||||
|
||||
Reference in New Issue
Block a user