Vsevolod Tolstopyatov | 7c5069c | 2019-12-26 19:52:04 +0300 | [diff] [blame] | 1 | /* |
Leonid Startsev | e721ebe | 2021-10-29 14:41:49 +0300 | [diff] [blame^] | 2 | * Copyright 2017-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. |
Vsevolod Tolstopyatov | 7c5069c | 2019-12-26 19:52:04 +0300 | [diff] [blame] | 3 | */ |
| 4 | |
| 5 | apply plugin: 'kotlin-multiplatform' |
| 6 | apply plugin: 'kotlinx-serialization' |
Vsevolod Tolstopyatov | 608cbad | 2020-09-14 15:38:02 +0300 | [diff] [blame] | 7 | apply from: rootProject.file("gradle/native-targets.gradle") |
| 8 | apply from: rootProject.file("gradle/configure-source-sets.gradle") |
Vsevolod Tolstopyatov | 7c5069c | 2019-12-26 19:52:04 +0300 | [diff] [blame] | 9 | |
| 10 | kotlin { |
Vsevolod Tolstopyatov | 7c5069c | 2019-12-26 19:52:04 +0300 | [diff] [blame] | 11 | |
| 12 | sourceSets { |
| 13 | commonMain { |
| 14 | dependencies { |
Leonid Startsev | a148260 | 2020-08-03 14:40:25 +0300 | [diff] [blame] | 15 | api project(":kotlinx-serialization-core") |
Vsevolod Tolstopyatov | 7c5069c | 2019-12-26 19:52:04 +0300 | [diff] [blame] | 16 | } |
| 17 | } |
| 18 | |
Vsevolod Tolstopyatov | 7c5069c | 2019-12-26 19:52:04 +0300 | [diff] [blame] | 19 | jvmTest { |
| 20 | dependencies { |
Vsevolod Tolstopyatov | 7c5069c | 2019-12-26 19:52:04 +0300 | [diff] [blame] | 21 | implementation 'io.kotlintest:kotlintest:2.0.7' |
Sergey Shanshin | d58afee | 2020-10-21 20:55:12 +0300 | [diff] [blame] | 22 | implementation group: 'com.upokecenter', name: 'cbor', version: '4.2.0' |
Vsevolod Tolstopyatov | 7c5069c | 2019-12-26 19:52:04 +0300 | [diff] [blame] | 23 | 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 Elizarov | 46496be | 2020-09-10 14:53:56 +0300 | [diff] [blame] | 27 | implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version" |
Vsevolod Tolstopyatov | 7c5069c | 2019-12-26 19:52:04 +0300 | [diff] [blame] | 28 | } |
| 29 | } |
Vsevolod Tolstopyatov | 7c5069c | 2019-12-26 19:52:04 +0300 | [diff] [blame] | 30 | } |
| 31 | } |
Gerard de Leeuw | cf6e41a | 2021-09-03 16:08:35 +0200 | [diff] [blame] | 32 | |
| 33 | Java9Modularity.configureJava9ModuleInfo(project) |