You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
966 B
42 lines
966 B
plugins {
|
|
kotlin("multiplatform")
|
|
id("com.android.library")
|
|
}
|
|
|
|
kotlin {
|
|
android()
|
|
ios {
|
|
binaries {
|
|
framework {
|
|
baseName = "shared"
|
|
}
|
|
}
|
|
}
|
|
sourceSets {
|
|
val commonMain by getting
|
|
val commonTest by getting {
|
|
dependencies {
|
|
implementation(kotlin("test-common"))
|
|
implementation(kotlin("test-annotations-common"))
|
|
}
|
|
}
|
|
val androidMain by getting
|
|
val androidTest by getting {
|
|
dependencies {
|
|
implementation(kotlin("test-junit"))
|
|
implementation("junit:junit:4.13")
|
|
}
|
|
}
|
|
val iosMain by getting
|
|
val iosTest by getting
|
|
}
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion(29)
|
|
defaultConfig {
|
|
minSdkVersion(24)
|
|
targetSdkVersion(29)
|
|
}
|
|
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")
|
|
} |