We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Task Graph page http://www.scala-sbt.org/1.x/docs/Task-Graph.html contains example for conditional task evaluation, namely this code snippet:
scalacOptions := { val ur = update.value // update task happens-before scalacOptions if (false) { val x = clean.value // clean task happens-before scalacOptions } ur.allConfigurations.take(3) }
When running on the sbt version 1.0.2, build is failing with:
error: The evaluation of clean happens always inside a regular task.
clean
So the example should be fixed to meet the newer sbt requirement.
The text was updated successfully, but these errors were encountered:
Thanks. Related to #501.
Sorry, something went wrong.
No branches or pull requests
The Task Graph page http://www.scala-sbt.org/1.x/docs/Task-Graph.html contains example for conditional task evaluation, namely this code snippet:
When running on the sbt version 1.0.2, build is failing with:
So the example should be fixed to meet the newer sbt requirement.
The text was updated successfully, but these errors were encountered: