| /* |
| * Copyright 2017-2020 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 group: 'com.google.code.gson', name: 'gson', version: '2.8.5' |
| implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version" |
| } |
| } |
| } |
| } |
| |
| compileTestKotlinJsLegacy { |
| exclude '**/PropertyInitializerTest.kt' |
| } |