plugins { alias(libs.plugins.kotlin.multiplatform) alias(libs.plugins.android.kotlin.multiplatform.library) } kotlin { // JVM target drives the headless tuning simulator. jvm() // The modern KMP Android integration. `androidTarget()` is the older path. androidLibrary { namespace = "com.jsjdesigns.poker.engine" compileSdk = 37 minSdk = 26 // Run the shared tests against the Android variant too, not just compile // it — otherwise the AAR is only ever proven to build. withHostTestBuilder {}.configure { isIncludeAndroidResources = true } } sourceSets { commonMain.dependencies { implementation(libs.kotlinx.coroutines.core) } commonTest.dependencies { implementation(kotlin("test")) implementation(libs.kotlinx.coroutines.test) } } }