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
@@ -52,7 +52,7 @@ evaluationDependsOn(":kotlin-android-extensions-runtime")
projectTest {
environment("ANDROID_EXTENSIONS_RUNTIME_CLASSES", getSourceSetsFrom(":kotlin-android-extensions-runtime")["main"].output.classesDirs.asPath)
shouldRunAfter(":dist")
dependsOn(":dist")
workingDir = rootDir
doFirst {
val androidPluginPath = File(intellijRootDir(), "plugins/android").canonicalPath