blob: d4b770674d9918b21454d1cfe3f30a826011e028 [file] [log] [blame]
Vsevolod Tolstopyatov7c5069c2019-12-26 19:52:04 +03001/*
Leonid Startseve721ebe2021-10-29 14:41:49 +03002 * Copyright 2017-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
Vsevolod Tolstopyatov7c5069c2019-12-26 19:52:04 +03003 */
4
5apply plugin: 'kotlin-multiplatform'
6apply plugin: 'kotlinx-serialization'
Vsevolod Tolstopyatov608cbad2020-09-14 15:38:02 +03007apply from: rootProject.file("gradle/native-targets.gradle")
8apply from: rootProject.file("gradle/configure-source-sets.gradle")
Vsevolod Tolstopyatov7c5069c2019-12-26 19:52:04 +03009
10kotlin {
Vsevolod Tolstopyatov7c5069c2019-12-26 19:52:04 +030011
12 sourceSets {
13 commonMain {
14 dependencies {
Leonid Startseva1482602020-08-03 14:40:25 +030015 api project(":kotlinx-serialization-core")
Vsevolod Tolstopyatov7c5069c2019-12-26 19:52:04 +030016 }
17 }
18
Vsevolod Tolstopyatov7c5069c2019-12-26 19:52:04 +030019 jvmTest {
20 dependencies {
Vsevolod Tolstopyatov7c5069c2019-12-26 19:52:04 +030021 implementation 'io.kotlintest:kotlintest:2.0.7'
Sergey Shanshind58afee2020-10-21 20:55:12 +030022 implementation group: 'com.upokecenter', name: 'cbor', version: '4.2.0'
Vsevolod Tolstopyatov7c5069c2019-12-26 19:52:04 +030023 implementation group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: jackson_version
24 implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: jackson_version
25 implementation group: 'com.fasterxml.jackson.module', name: 'jackson-module-kotlin', version: jackson_version
26 implementation group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-cbor', version: jackson_version
Roman Elizarov46496be2020-09-10 14:53:56 +030027 implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
Vsevolod Tolstopyatov7c5069c2019-12-26 19:52:04 +030028 }
29 }
Vsevolod Tolstopyatov7c5069c2019-12-26 19:52:04 +030030 }
31}
Gerard de Leeuwcf6e41a2021-09-03 16:08:35 +020032
33Java9Modularity.configureJava9ModuleInfo(project)