Use dependsOn for dependencies on dist & ideaPlugin tasks

instead `shouldRunAfter`
This commit is contained in:
Vyacheslav Gerasimov
2018-02-01 17:18:53 +03:00
parent a595fdd312
commit ec511f7a78
9 changed files with 9 additions and 12 deletions
+1 -2
View File
@@ -22,8 +22,7 @@ tasks.withType<KotlinCompile> {
projectTest {
executable = "${rootProject.extra["JDK_18"]!!}/bin/java"
shouldRunAfter(":dist")
dependsOn(":prepare:mock-runtime-for-test:dist")
dependsOn(":dist")
workingDir = rootDir
systemProperty("kotlin.test.script.classpath", the<JavaPluginConvention>().sourceSets.getByName("test").output.classesDirs.joinToString(File.pathSeparator))
}