-
Notifications
You must be signed in to change notification settings - Fork 55
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
Change in assignment to scalacOptions
key ignores any build specific options
#60
Comments
No, there's no reason for it @seveneves, it's just an oversight. As of the changes in 0.2.x it's probably better to manipulate I will fix & cut a new release Monday 👍 |
That was my initial intention for this issue but then I need to use the plugin's ADTs instead of simple strings. For example,
It is much longer version of just
That would be great! Thanks |
scalacOptions
key removes any build specific optionsscalacOptions
key ignores any build specific options
…user are ignored
Fix #60 when scalac options specified in ThisBuild scope by user are ignored
@seveneves out of curiosity is there a reason to use scope delegation from I think this will always be overridden by any project-specific usage of that setting from any plugin because of the scope delegation rules.
I think it's more common to have a |
Thanks for accepting the PR!
This would be the way to fix it also. But we have about 100+ git repos that use
yes, if it uses
Thanks for sharing! |
@DavidGregory084 I don't think this fix is released, should it be part of |
@DavidGregory084 I think this might have broken I will check how it can be fixed and will create a PR |
Hmm @seveneves I am struggling with this one a bit. I don't think that we can continue to support inheriting The reason is that it collides with the By inheriting existing If we fill out the One thing I am considering is whether it would make sense to write a scalafix migration to migrate from |
@DavidGregory084 That's fine. Let's drop support for ThisBuid. Thanks for letting me know |
Sorry for the trouble - if you can think of any ideas as to how we can support it I'm happy to give it a go! |
The problem is with following code in
io.github.davidgregory084.TpolecatPlugin
in latest0.2.2
version.and
scalacOptions
is now set a value via:=
instead of being added++=
as it was done in version0.1.22
for example.This results in ignoring any user specified
scalacOptions
inThisBuild
scope.Is there a reason of not using
++=
instead of:=
?The text was updated successfully, but these errors were encountered: