Search code examples
sbtsbt-assembly

How can I perform a check before sbt assembly


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?


Solution

  • assembly <<= assembly dependsOn myCheckTask