import com.mathroda.buildsrc.Configuration import com.mathroda.buildsrc.Deps import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi import org.jetbrains.kotlin.gradle.dsl.JvmTarget plugins { id("com.android.library") kotlin("multiplatform") id("org.jetbrains.kotlin.plugin.compose") id("org.jetbrains.compose") } kotlin { @OptIn(ExperimentalKotlinGradlePluginApi::class) compilerOptions { androidTarget { // compilerOptions DSL: https://kotl.in/u1r8ln compilerOptions.jvmTarget.set(JvmTarget.JVM_11) } } listOf( iosX64(), iosArm64(), iosSimulatorArm64() ).forEach { it.binaries.framework { baseName = "forgot_password" isStatic = true } } sourceSets { commonMain.dependencies { implementation(project(":core")) implementation(project(":core-datasource")) implementation(project(":features:common")) implementation(compose.runtime) implementation(compose.foundation) implementation(compose.material) implementation(compose.ui) implementation(compose.components.resources) implementation(compose.components.uiToolingPreview) implementation(Deps.Koin.core) with(Deps.AndroidX.Compose) { implementation(viewModelCompose) } } } } compose.resources { publicResClass = true packageOfResClass = "com.mathroda.forgot_password.resources" generateResClass = always } android { compileSdk = Configuration.compileSdk namespace = "com.mathroda.forgot_password" defaultConfig { minSdk = Configuration.minSdk } compileOptions { sourceCompatibility = JavaVersion.VERSION_11 targetCompatibility = JavaVersion.VERSION_11 } }