Fix dependencies to the cross-project tasks

This commit is contained in:
Ilya Chernikov
2018-01-16 12:49:12 +01:00
committed by Vyacheslav Gerasimov
parent 434bbafe58
commit 555e9674b2
12 changed files with 11 additions and 32 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ tasks.withType<KotlinCompile> {
projectTest {
executable = "${rootProject.extra["JDK_18"]!!}/bin/java"
dependsOnTaskIfExistsRec("dist", project = rootProject)
shouldRunAfter(":dist")
dependsOn(":prepare:mock-runtime-for-test:dist")
workingDir = rootDir
systemProperty("kotlin.test.script.classpath", the<JavaPluginConvention>().sourceSets.getByName("test").output.classesDirs.joinToString(File.pathSeparator))