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
+7 -4
View File
@@ -2,7 +2,6 @@
apply { plugin("kotlin") }
dependencies {
val compile by configurations
compile(project(":core"))
compile(project(":compiler:util"))
compile(project(":compiler:frontend"))
@@ -10,6 +9,10 @@ dependencies {
compile(project(":compiler:cli-common"))
}
configureKotlinProjectSources("backend-common/src", "ir/backend.common/src", sourcesBaseDir = File(rootDir, "compiler"))
configureKotlinProjectNoTests()
sourceSets {
"main" {
projectDefault()
java.srcDir("../ir/backend.common/src")
}
"test" {}
}