Continue switching projects to improved dsl: sourceSets and test running

This commit is contained in:
Ilya Chernikov
2017-08-21 20:53:48 +02:00
parent 336e24b837
commit deda50dbbb
76 changed files with 372 additions and 614 deletions
+4 -6
View File
@@ -2,10 +2,6 @@
apply { plugin("kotlin") }
dependencies {
val testCompile by configurations
val testCompileOnly by configurations
val testRuntime by configurations
testCompile(project(":compiler.tests-common"))
testCompile(project(":compiler:frontend"))
testCompile(project(":compiler:cli"))
@@ -19,8 +15,10 @@ dependencies {
testRuntime(ideaSdkDeps("*.jar"))
}
configureKotlinProjectSources()
configureKotlinProjectTestsDefault()
sourceSets {
"main" {}
"test" { projectDefault() }
}
val test: Test by tasks
test.apply {