I launched this shell from sbt with the "console-project" command.
scala> settings
<console>:24: error: reference to settings is ambiguous;
it is imported twice in the same scope by
import Keys._
and import settings
settings
^
How do I get the shell to display the settings object, not Keys.settings?
Assuming that you imported Keys._
and settings
yourself you can rename settings
from Keys
, like so:
import Keys.{settings => keySettings, _}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With