plugins {
    id "org.jetbrains.kotlin.multiplatform"
    id "org.jetbrains.kotlin.plugin.serialization"
    id "com.android.library"
}

apply from: "$mppProjectWithSerializationPresetPath"

kotlin {
    sourceSets {
        commonMain {
            dependencies {
                api internalProject("micro_utils.repos.common")
            }
        }
        jvmTest {
            dependencies {
                implementation internalProject("micro_utils.repos.common")
                implementation internalProject("micro_utils.repos.ktor.client")
                implementation internalProject("micro_utils.repos.ktor.server")
                implementation internalProject("micro_utils.repos.inmemory")
                implementation libs.kt.coroutines.test

                implementation libs.ktor.server.cio
                implementation libs.ktor.client.cio
                implementation libs.ktor.server.content.negotiation
                implementation libs.ktor.serialization.kotlinx.json
                implementation libs.ktor.client.content.negotiation
                implementation libs.ktor.client.logging
                implementation libs.ktor.client.websockets
            }
        }
    }
}