blob: dd77ce52f4bab80b726d2b3c12cff5643344f0aa [file] [log] [blame]
/*
* Copyright 2017-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
apply plugin: 'kotlin-multiplatform'
apply plugin: 'kotlinx-serialization'
apply from: rootProject.file("gradle/native-targets.gradle")
apply from: rootProject.file("gradle/configure-source-sets.gradle")
kotlin {
sourceSets {
commonMain {
dependencies {
api project(":kotlinx-serialization-core")
}
}
jvmTest {
dependencies {
implementation 'io.kotlintest:kotlintest:2.0.7'
implementation 'com.upokecenter:cbor:4.0.0-beta1'
implementation "com.fasterxml.jackson.core:jackson-core:$jackson_version"
implementation "com.fasterxml.jackson.core:jackson-databind:$jackson_version"
implementation "com.fasterxml.jackson.module:jackson-module-kotlin:$jackson_version"
implementation "com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:$jackson_version"
}
}
}
}
Java9Modularity.configureJava9ModuleInfo(project)