Skip to content
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

Upgrade to sbt 1.2.6 #1954

Merged
merged 9 commits into from
Apr 8, 2019
10 changes: 3 additions & 7 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,7 @@ lazy val framework =
case _ =>
Seq()
}) //workaround for scala/scala-dev#249
/*.settings(
(sources / aggregate) in (Compile, doc),
aggregatedSetting(dependencyClasspath in(Compile, doc)),
publishArtifact := false
)*/
.enablePlugins(ScalaUnidocPlugin)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to check---is this still officially a workaround for scala/scala-dev#249 per the comment above it? Happy to make this edit.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh. To be clear this comment about the Scala bug is for the block above, not the block below 😬

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These lines are about the compiled mega docs. It’s currently misbehaving but I think this PR is still a win.


// Core Projects
// -------------
Expand Down Expand Up @@ -157,8 +153,8 @@ lazy val webkit =
commons_fileupload,
rhino,
servlet_api,
specs2Main,
specs2MatchersMain,
specs2Prov,
specs2MatchersProv,
jetty6,
jwebunit,
mockito_all,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ object Util {
* argument.
*/
def bindFields[T <: Mapper[T]](mapper: T, nsfn: MappedField[_,T]=>NodeSeq): NodeSeq=>NodeSeq = {
case xml.Elem(_, name, _, _, _*) =>
case scala.xml.Elem(_, name, _, _, _*) =>
mapper.fieldByName(name) match {
case Full(field) => nsfn(field)
case _ => NodeSeq.Empty
Expand Down
4 changes: 2 additions & 2 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ object Dependencies {
lazy val mockito_all = "org.mockito" % "mockito-all" % "1.9.0" % "test"
lazy val scalacheck = "org.specs2" %% "specs2-scalacheck" % "3.8.6" % "test"
lazy val specs2 = "org.specs2" %% "specs2-core" % "3.8.6" % "test"
lazy val specs2Main = "org.specs2" %% "specs2-core" % "3.8.6"
lazy val specs2Prov = "org.specs2" %% "specs2-core" % "3.8.6" % "provided"
lazy val specs2Matchers = "org.specs2" %% "specs2-matcher-extra" % "3.8.6" % "test"
lazy val specs2MatchersMain = "org.specs2" %% "specs2-matcher-extra" % "3.8.6"
lazy val specs2MatchersProv = "org.specs2" %% "specs2-matcher-extra" % "3.8.6" % "provided"
lazy val specs2Mock = "org.specs2" %% "specs2-mock" % "3.8.6" % "test"
lazy val scalatest = "org.scalatest" %% "scalatest" % "3.0.1" % "test"
lazy val junit = "junit" % "junit" % "4.8.2" % "test"
Expand Down
2 changes: 2 additions & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ addSbtPlugin("org.jetbrains" % "sbt-idea-plugin" % "2.1.3")

lazy val buildPlugin = RootProject(uri("git://github.com/lift/sbt-lift-build.git#f9c52bda7b43a98b9f8805c654c713d99db0a58f"))
lazy val root = (project in file(".")).dependsOn(buildPlugin)

addSbtPlugin("com.eed3si9n" % "sbt-unidoc" % "0.4.2")