blob: 22944459862df1c53e3758798ceb0198a0ed73bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/*
* 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 'com.google.code.gson:gson:2.8.5'
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
}
}
}
}
compileTestKotlinJsLegacy {
exclude '**/PropertyInitializerTest.kt'
}
Java9Modularity.configureJava9ModuleInfo(project)
|