We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Consider the following scenario:
I have a project structure like this
. ├── bar │ └── src │ └── main │ └── scala │ └── Bar.scala │ ├── foo │ └── src │ └── main │ └── scala │ └── Foo.scala │ ├── build.sbt │ └── project ├── build.properties └── plugins.sbt
and a build.sbt as follow:
build.sbt
lazy val foo = project .in(file("foo")) lazy val bar = project .in(file("bar")) lazy val root = project .in(file(".")) .aggregate(foo, bar)
If plugin.sbt is empty, then I can type sbt compile and it will compile Foo.scala and Bar.scala. However, if plugin.sbt contains
plugin.sbt
sbt compile
Foo.scala
Bar.scala
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.1.5")
then when I type sbt compile, it will do nothing. I can still do sbt bar/compile or sbt foo/compile
sbt bar/compile
sbt foo/compile
The text was updated successfully, but these errors were encountered:
This has something to do with the use of Def.derive in DottyIDEPlugin but I don't understand what. As a workaround you can add:
Def.derive
DottyIDEPlugin
.disablePlugins(dotty.tools.sbtplugin.DottyIDEPlugin)
to every sbt project in the build.
Sorry, something went wrong.
Opened an issue against sbt because I'm baffled: sbt/sbt#3580
7d2acf0
Merge pull request #3178 from dotty-staging/fix-sbt-aggregate
8d04b6b
Fix #3172: sbt-dotty breaks aggregrated tasks
Fix scala#3172: sbt-dotty breaks aggregrated tasks
bb7d889
Workaround sbt/sbt#3580 by not using Def.derive
smarter
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Consider the following scenario:
I have a project structure like this
and a
build.sbt
as follow:If
plugin.sbt
is empty, then I can typesbt compile
and it will compileFoo.scala
andBar.scala
. However, ifplugin.sbt
containsthen when I type
sbt compile
, it will do nothing. I can still dosbt bar/compile
orsbt foo/compile
The text was updated successfully, but these errors were encountered: