Skip to content
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

ScalacOption case class unreachable from build.sbt #65

Closed
mihaisoloi opened this issue Apr 14, 2022 · 2 comments · Fixed by #75
Closed

ScalacOption case class unreachable from build.sbt #65

mihaisoloi opened this issue Apr 14, 2022 · 2 comments · Fixed by #75

Comments

@mihaisoloi
Copy link
Contributor

In order to use ScalacOption you need to import it via the _root_.io.github.davidgregory084.ScalacOption otherwise sbt looks for it in sbt.io.github.davidgregory084.ScalacOption.

Using it is useful for undefined DSL scalacOptions

@mihaisoloi
Copy link
Contributor Author

perhaps we should have a:

def undefinedOption(name: String) = new ScalacOption(List(name))

in the ScalacOptions

@DavidGregory084
Copy link
Member

Yeah you are right, unfortunately this affects anything published under io.github because sbt imports sbt.io into build.sbt by default. 😞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants