You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been upgrading one of my projects from 0.8 to 1.0, but when I try to enable any of the native packager plugins, I always get error: not found: value <whatever plugin>. I was able to successfully enable the plugins in Build.scala but not in build.sbt. I am using sbt 0.13.7 which I downloaded from homebrew, and version 1.0.0-RC1 of this plugin.
Example build.sbt:
scalacOptions ++=Seq("-deprecation", "-unchecked", "-feature")
enablePlugins(RpmPlugin) // this didn't work
I was able to enable the plugins by doing something like this in my Build.scala:
importcom.typesafe.sbt.packager.rpm.RpmPlugin// lots of stuff in between there and herelazyvalmyproject=Project(
"myproject", file("myproject"),
settings = mySettings ++Seq(name :="myproject", ...)
).enablePlugins(RpmPlugin)
The docs said to just add the line in build.sbt. Is this a documentation error?
The text was updated successfully, but these errors were encountered:
I've been upgrading one of my projects from 0.8 to 1.0, but when I try to enable any of the native packager plugins, I always get
error: not found: value <whatever plugin>
. I was able to successfully enable the plugins inBuild.scala
but not inbuild.sbt
. I am using sbt 0.13.7 which I downloaded from homebrew, and version 1.0.0-RC1 of this plugin.Example
build.sbt
:My
plugins.sbt
:I was able to enable the plugins by doing something like this in my
Build.scala
:The docs said to just add the line in
build.sbt
. Is this a documentation error?The text was updated successfully, but these errors were encountered: