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 -7
View File
@@ -2,11 +2,6 @@
apply { plugin("kotlin") }
dependencies {
val compile by configurations
val compileOnly by configurations
val testCompile by configurations
val testCompileOnly by configurations
val testRuntime by configurations
testCompile(project(":compiler:util"))
testCompile(project(":compiler:backend"))
testCompile(project(":compiler:cli"))
@@ -35,8 +30,10 @@ dependencies {
testRuntime(ideaPluginDeps("*.jar", plugin = "android"))
}
configureKotlinProjectSources()
configureKotlinProjectTestsDefault()
sourceSets {
"main" {}
"test" { projectDefault() }
}
testsJar {}