-
Notifications
You must be signed in to change notification settings - Fork 928
New issue
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
Using Def.derive with configuration-scoped tasks can break task aggregation #3580
Labels
Comments
smarter
added a commit
to dotty-staging/dotty
that referenced
this issue
Sep 26, 2017
Workaround sbt/sbt#3580 by not using Def.derive
Worked around by not using Def.derive: scala/scala3#3178 |
ennru
pushed a commit
to ennru/dotty
that referenced
this issue
Sep 27, 2017
Workaround sbt/sbt#3580 by not using Def.derive
eed3si9n
added
backlog
and removed
uncategorized
Used for Waffle integration
x/waffle
labels
Nov 8, 2018
I am not able to reproduce this behavior with sbt +1.3.0. It looks like this issue was fixed in some commit between 1.2.8 and 1.3.0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider the following build.sbt (git repo: https://github.com/smarter/sbt-derive-bug):
foo
is aggregated in root, as expected:But now, if we uncomment the commented lines above, we get:
This happens with both sbt 0.13 and 1.0. This does not happen if we use
bar in Compile := ...
instead ofDef.derive
, or if we replace allfoo in Compile
byfoo
.This makes sbt-dotty unusable with aggregated projects without manually disabling the IDE plugin: scala/scala3#3172
The text was updated successfully, but these errors were encountered: