Extract kotlin.coroutines.experimental API into compat artifact
Add public API dump for kotlin-coroutines-experimental-compat #KT-36083
This commit is contained in:
@@ -26,18 +26,18 @@ sourceSets {
|
||||
}
|
||||
coroutinesExperimental {
|
||||
kotlin {
|
||||
srcDir '../coroutines-experimental/jvm/src'
|
||||
// srcDir '../coroutines-experimental/jvm/src'
|
||||
}
|
||||
}
|
||||
coroutinesExperimentalTest {
|
||||
kotlin {
|
||||
srcDir '../coroutines-experimental/jvm/test'
|
||||
// srcDir '../coroutines-experimental/jvm/test'
|
||||
}
|
||||
}
|
||||
coroutinesExperimentalMigrationTest {
|
||||
kotlin {
|
||||
if(!BuildPropertiesKt.getKotlinBuildProperties(project).inIdeaSync) {
|
||||
srcDir '../coroutines-experimental/jvm/test'
|
||||
// srcDir '../coroutines-experimental/jvm/test'
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -77,6 +77,7 @@ dependencies {
|
||||
|
||||
testCompile project(':kotlin-test:kotlin-test-junit')
|
||||
testCompile sourceSets.coroutinesExperimental.output
|
||||
testCompile project(':kotlin-coroutines-experimental-compat')
|
||||
|
||||
coroutinesExperimentalCompile sourceSets.main.output
|
||||
coroutinesExperimentalTestCompile sourceSets.test.output
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
/*
|
||||
* Copyright 2010-2018 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
@file:Suppress("ObsoleteExperimentalCoroutines")
|
||||
|
||||
package test.coroutines
|
||||
|
||||
import java.util.concurrent.Semaphore
|
||||
import kotlin.coroutines.*
|
||||
import kotlin.coroutines.experimental.startCoroutine
|
||||
import kotlin.test.*
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user