-
-
Save pvmsikrsna/a4328aa78be19d5b060a to your computer and use it in GitHub Desktop.
SBT snippets
This file contains 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
// create new task | |
lazy val myPlugin = TaskKey[Unit]("my-plugin") | |
lazy val myPluginTask = Seq( | |
myPlugin := (), | |
myPlugin <<= myPlugin.dependsOn(someTask in someProject), | |
) | |
// depend one task on another | |
xxx | |
.settings( | |
someTask <<= someTask.dependsOn(myPlugin in otherProject) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment