Create a gist now

Instantly share code, notes, and snippets.

sbt task dependencies in parallel vs serial
//this runs the dependencies in parallel (undesirable)
buildAndRun <<= Seq(addScalaLib, packageDebug in Android, removeScalaLib, startDevice in Android).dependOn,
---- vs ---
//this runs the dependencies serially (desired)
buildAndRun <<= removeScalaLib,
buildAndRun <<= buildAndRun dependsOn (startDevice in Android),
buildAndRun <<= buildAndRun dependsOn (packageDebug in Android),
buildAndRun <<= buildAndRun dependsOn addScalaLib,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment