Rename coroutines sourceset to coroutinesExperimental

Restore experimental coroutine tests as they were before e22ca022
and compile and run them twice:
 - first time with LV=1.2
 - second time with LV=1.3
This commit is contained in:
Ilya Gorbunov
2018-11-17 00:12:16 +03:00
parent 673844a059
commit ec3692026d
6 changed files with 576 additions and 39 deletions
+5 -5
View File
@@ -29,7 +29,7 @@ sourceSets {
srcDir 'test'
}
}
coroutines {
coroutinesExperimental {
kotlin {
srcDir '../coroutines-experimental/src'
}
@@ -40,7 +40,7 @@ dependencies {
testCompile project(":kotlin-test:kotlin-test-common")
testCompile project(":kotlin-test:kotlin-test-annotations-common")
coroutinesCompile sourceSets.main.output
coroutinesExperimentalCompile sourceSets.main.output
}
compileKotlinCommon {
@@ -63,7 +63,7 @@ compileKotlinCommon {
}
}
compileCoroutinesKotlinCommon {
compileCoroutinesExperimentalKotlinCommon {
kotlinOptions {
languageVersion = "1.3"
apiVersion = "1.3"
@@ -89,13 +89,13 @@ compileTestKotlinCommon {
jar {
manifestAttributes(manifest, project, 'Main')
from sourceSets.coroutines.output
from sourceSets.coroutinesExperimental.output
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.kotlin
from sourceSets.coroutines.kotlin
from sourceSets.coroutinesExperimental.kotlin
}
configurations {