mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-18 03:17:03 +05:30

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev> Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
48 lines
1,018 B
Kotlin
48 lines
1,018 B
Kotlin
plugins {
|
|
kotlin("multiplatform")
|
|
id("com.android.library")
|
|
id("com.squareup.sqldelight")
|
|
`lobsters-plugin`
|
|
}
|
|
|
|
// workaround for https://youtrack.jetbrains.com/issue/KT-43944
|
|
android {
|
|
configurations {
|
|
create("androidTestApi")
|
|
create("androidTestDebugApi")
|
|
create("androidTestReleaseApi")
|
|
create("testApi")
|
|
create("testDebugApi")
|
|
create("testReleaseApi")
|
|
}
|
|
}
|
|
|
|
kotlin {
|
|
jvm()
|
|
android()
|
|
|
|
sourceSets {
|
|
val commonMain by getting {
|
|
}
|
|
val jvmTest by getting {
|
|
dependencies {
|
|
implementation(Dependencies.Kotlin.Coroutines.core)
|
|
implementation(kotlin("test-junit"))
|
|
}
|
|
}
|
|
val jvmMain by getting {
|
|
dependencies {
|
|
implementation(Dependencies.ThirdParty.SQLDelight.jvmDriver)
|
|
}
|
|
}
|
|
val androidMain by getting {
|
|
dependencies {
|
|
implementation(Dependencies.ThirdParty.SQLDelight.androidDriver)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
android {
|
|
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")
|
|
}
|