-
Notifications
You must be signed in to change notification settings - Fork 446
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
documentation for Build.scala files #593
Comments
AFAIK cc @jsuereth |
So support for |
by fiddling around, I've worked out that adding this at the top import com.typesafe.sbt.packager.archetypes.JavaAppPackaging
import JavaAppPackaging.autoImport._ and this to a module enablePlugins (
JavaAppPackaging
) seems to allow me to type |
You could take a look here example of Build.scala with autoplugins and some additional configuration |
I'm not sure if |
@fommil I would close this as at this point we have no way to solve this? |
This is just an RFE for better documentation, I'm sure that can be fixed... although whether it will be fixed is another question. |
Actually I'm pretty happy, when |
I will kick up a massive fuss if they try to remove |
I will close this ticket for now as "how to use Build.scala with AutoPlugins" is as an SBT concern and not sbt-native-packager. Feel free to provide a PR, when there are docs available. |
In the docs http://www.scala-sbt.org/sbt-native-packager/archetypes/java_app/index.html
enablePlugins(JavaAppPackaging)
is recommended. But this only works forbuild.sbt
style projects. what is the correct magic forBuild.scala
style projects?The text was updated successfully, but these errors were encountered: