diff --git a/engine-kmp/build.gradle.kts b/engine-kmp/build.gradle.kts new file mode 100644 index 0000000000..8e7d31eaea --- /dev/null +++ b/engine-kmp/build.gradle.kts @@ -0,0 +1,22 @@ +plugins { + id("org.jetbrains.kotlin.multiplatform") + id("com.android.kotlin.multiplatform.library") +} + +kotlin { + jvmToolchain(21) + + androidLibrary { + namespace = "com.google.android.fhir.engine" + compileSdk = Sdk.COMPILE_SDK + minSdk = Sdk.MIN_SDK + } + + jvm("desktop") + + iosX64() + iosArm64() + iosSimulatorArm64() + + sourceSets { commonMain { dependencies { implementation(libs.kotlinx.coroutines.core) } } } +} diff --git a/settings.gradle.kts b/settings.gradle.kts index 9031c4033f..a0fddb593a 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -76,3 +76,5 @@ include(":workflow_demo") include(":datacapture-kmp") include(":sdc-kmp-demo") + +include(":engine-kmp")