I would like to perform some checks before sbt assembly that make the build fail early when certain conditions are not met. What is the recommended way to do this?
sbt assembly
assembly <<= assembly dependsOn myCheckTask