Pedro Romano Barbosa
06/13/2024, 6:10 PMplugins {
alias(libs.plugins.kotlinMultiplatform)
}
kotlin {
sourceSets {
commonMain.dependencies {
// dependencies
}
}
}
ephemient
06/13/2024, 6:20 PMPedro Romano Barbosa
06/13/2024, 6:52 PMplugins {
alias(libs.plugins.kotlinMultiplatform)
alias(libs.plugins.androidLibrary)
}
kotlin {
androidTarget()
iosX64()
iosArm64()
iosSimulatorArm64()
jvm()
}
android {
namespace = "com.romano.gaia.domain"
compileSdk = libs.versions.android.compileSdk.get().toInt()
}
Is this the minimal configuration file for a module that targets android,ios and desktop?ephemient
06/13/2024, 6:56 PMjvm()
will work for Android consumers too, if you don't need to interact with the Android SDK or Android libraries in your own code. including androidTarget()
is sufficient if you do.
there's a whole range of watchos
and tvos
targets which ios consumers might expect.Landry Norris
06/13/2024, 8:05 PM