• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3  */
4 
5 import org.jetbrains.kotlin.gradle.plugin.mpp.*
6 
7 val experimentalAnnotations = listOf(
8     "kotlin.Experimental",
9     "kotlinx.coroutines.ExperimentalCoroutinesApi",
10     "kotlinx.coroutines.InternalCoroutinesApi"
11 )
12 
<lambda>null13 kotlin {
14     sourceSets.all { configureMultiplatform() }
15 
16     targets.withType(KotlinNativeTargetWithTests::class.java).configureEach {
17         binaries.getTest("DEBUG").apply {
18             optimized = true
19             binaryOptions["memoryModel"] = "experimental"
20         }
21     }
22 
23     sourceSets {
24         jvmTest {
25             dependencies {
26                 implementation(project(":kotlinx-coroutines-debug"))
27             }
28         }
29     }
30 }
31