Use dependsOn for dependencies on dist & ideaPlugin tasks
instead `shouldRunAfter`
This commit is contained in:
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user