plugins {
    kotlin("multiplatform")
    id("zcash.kotlin-multiplatform-build-conventions")
    id("zcash.kotlin-multiplatform-jacoco-conventions")
    id("zcash.dependency-conventions")
    id("zcash.android-build-conventions")
}

kotlin {
    jvm()
    sourceSets {
        getByName("commonMain") {
            dependencies {
                api(libs.kotlinx.coroutines.core)
                api(libs.kotlinx.datetime)
                implementation(projects.spackleLib)
            }
        }
        getByName("commonTest") {
            dependencies {
                implementation(kotlin("test"))
                implementation(libs.kotlinx.coroutines.test)
            }
        }
        getByName("jvmMain") {
            dependencies {
                implementation(projects.spackleLib)
            }
        }
        getByName("jvmTest") {
            dependencies {
                implementation(kotlin("test"))
            }
        }
    }
}
