Created
May 1, 2018 09:43
-
-
Save stevebakh/3010bf49a28d000941f4515e1bb78317 to your computer and use it in GitHub Desktop.
Make one sbt module depend on a task in another module (example: one module depends on assembly in another)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| lazy val firstmodule = ... | |
| .settings( | |
| assemblyJarName in assembly := "some.fat.jar", | |
| assemblyOutputPath in assembly := file("secondmodule/lib") / (assemblyJarName in assembly).value) | |
| lazy val secondmodule = ... | |
| .settings( | |
| test in IntegrationTest := (test in IntegrationTest).dependsOn(assembly in firstmodule).value) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment