Add all necessary compile dependencies to 'pill:generate-all-tests'

Before this change running the pill:generate-all-tests:testClasses
task (which is run by Intellij on "Build" invocation) led to compile error
This commit is contained in:
Alexey Tsvetkov
2018-03-13 18:23:07 +03:00
parent 0deec7983d
commit 3a7a34cc4e
4 changed files with 14 additions and 4 deletions
@@ -2,11 +2,15 @@
apply { plugin("kotlin") }
apply { plugin("jps-compatible") }
val depenencyProjects = arrayOf(
":generators", ":compiler", ":js:js.tests", ":compiler:tests-java8"
)
dependencies {
jpsTest(project(":generators", configuration = "jpsTest"))
jpsTest(project(":compiler", configuration = "jpsTest"))
jpsTest(project(":js:js.tests", configuration = "jpsTest"))
jpsTest(project(":compiler:tests-java8", configuration = "jpsTest"))
depenencyProjects.forEach {
testCompile(projectTests(it))
jpsTest(project(it, configuration = "jpsTest"))
}
}
sourceSets {