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
Mention val autoImport
inside AutoPlugin
in the docs
#7479
Comments
It is mentioned here: https://www.scala-sbt.org/1.x/docs/Plugins.html#Controlling+the+import+with+autoImport More specificaly:
|
Indeed! I think it would be nice to have at least 1 example with
is some undefined SBT magic. |
As the name auto import suggests, it injects the following statement: import x.y.SomePlugin.autoImport.* From Scala or sbt's point of view if the term |
In AutoPlugin you can use
val autoImport: Keys.type = sbtidea.Keys
. (see example)However, it's not mentioned in the documentation https://www.scala-sbt.org/1.x/docs/Plugins.html
Related: #1314
The text was updated successfully, but these errors were encountered: