Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[KMM] Add PlatformSpecificCheckboxView to demonstrate usage of compose-swift-bridge plugin #31

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build-logic/convention/src/main/kotlin/config/KmmConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget

object KmmConfig {
private fun includeX86(project: Project): Boolean =
getBooleanProperty(project, "X86", false)
getBooleanProperty(project, "X86", true)

private fun includeArm64(project: Project): Boolean =
getBooleanProperty(project, "ARM64", true)
Expand Down
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ plugins {
alias(libs.plugins.skie) apply false
alias(libs.plugins.jetbrains.compose) apply false
alias(libs.plugins.jetbrains.compose.compiler) apply false
alias(libs.plugins.google.ksp) apply false
alias(libs.plugins.versions)
alias(libs.plugins.versionCatalogUpdate)
}
Expand Down
14 changes: 11 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[versions]
sdk-min = "23"
sdk-min = "24"
sdk-target = "34"
sdk-compile = "34"
java = "17"
kotlin = "2.0.20"
kotlin = "2.0.21"
gradlePlugin = "8.3.2"
coroutines = "1.8.1"
google-ksp = "2.0.21-1.0.26"
dateTime = "0.6.0"
atomicFu = "0.23.2"
koin = "4.0.0"
Expand Down Expand Up @@ -35,7 +36,8 @@ versionCatalogueUpdate = "0.8.1"
versions = "0.49.0"
desugar = "2.1.2"
uiautomator = "2.3.0"
skie = "0.9.0"
skie = "0.9.3"
composeSwiftBridge = "0.1.0"

[libraries]
# Kotlin
Expand Down Expand Up @@ -120,6 +122,10 @@ espresso-core = { group = "androidx.test.espresso", name = "espresso-core", vers
androidx-uiautomator = { group = "androidx.test.uiautomator", name = "uiautomator", version.ref = "uiautomator" }
# Skie
skie-annotations = { module = "co.touchlab.skie:configuration-annotations", version.ref = "skie" }
# Compose Swift Bridge
composeSwiftBridge = { module = "co.touchlab.compose:compose-swift-bridge", version.ref = "composeSwiftBridge" }
composeSwiftBridge-ksp = { module = "co.touchlab.compose:compose-swift-bridge-ksp", version.ref = "composeSwiftBridge" }
composeSwiftBridge-skie = { module = "co.touchlab.compose:compose-swift-bridge-skie", version.ref = "composeSwiftBridge" }

[bundles]
settings = [
Expand Down Expand Up @@ -152,6 +158,8 @@ jetbrains-compose = { id = "org.jetbrains.compose", version.ref = "jetbrains-com
skie = { id = "co.touchlab.skie", version.ref = "skie" }
# Can be removed in case you do not use compose multiplatform
jetbrains-compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
# Can be removed in case you do not use compose multiplatform
google-ksp = { id = "com.google.devtools.ksp", version.ref = "google-ksp" }
# Convention plugins
mateeStarter-android-application-compose = "android-application-compose:none"
mateeStarter-android-application-core = "android-application:none"
Expand Down
Loading
Loading