Skip to content

Commit

Permalink
what if it works :3
Browse files Browse the repository at this point in the history
  • Loading branch information
aenriii committed Nov 29, 2023
1 parent ed01743 commit 7cd6651
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
5 changes: 3 additions & 2 deletions common-compose/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ plugins {
}

kotlin {

androidTarget()
android {
publishLibraryVariants("release")
}
jvm("desktop")
iosArm64().binaries.framework {
baseName = "uninitCommonCompose"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package uninit.common.compose.platform

import android.content.Context
import androidx.compose.runtime.compositionLocalOf

@Suppress("USELESS_CAST")
val LocalApplicationContext = compositionLocalOf { null as Context? }
4 changes: 3 additions & 1 deletion common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ plugins {

kotlin {

androidTarget()
android {
publishLibraryVariants("release")
}
jvm("desktop")
iosArm64().binaries.framework {
baseName = "uninitCommon"
Expand Down

0 comments on commit 7cd6651

Please sign in to comment.