-
Notifications
You must be signed in to change notification settings - Fork 279
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
Upgrade to sbt 1.2.6 #1954
Changes from 4 commits
b1d7cdb
a06fbd3
ac3069a
9ff6b35
9bcb5ad
ec82f26
e359d05
78427fb
ac94821
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,9 +46,11 @@ lazy val framework = | |
case _ => | ||
Seq() | ||
}) //workaround for scala/scala-dev#249 | ||
.settings(aggregatedSetting(sources in(Compile, doc)), | ||
aggregatedSetting(dependencyClasspath in(Compile, doc)), | ||
publishArtifact := false) | ||
/*.settings( | ||
(sources / aggregate) in (Compile, doc), | ||
aggregatedSetting(dependencyClasspath in(Compile, doc)), | ||
publishArtifact := false | ||
)*/ | ||
|
||
// Core Projects | ||
// ------------- | ||
|
@@ -155,8 +157,8 @@ lazy val webkit = | |
commons_fileupload, | ||
rhino, | ||
servlet_api, | ||
specs2.copy(configurations = Some("provided")), | ||
specs2Matchers.copy(configurations = Some("provided")), | ||
specs2Main, | ||
specs2MatchersMain, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The new one puts it on the classpath, while the old one marked it provided (~= not on the classpath via sbt, but on the classpath via external means?). Not fully following the difference in what we were doing vs what we're doing now. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ahhhhh right you are. |
||
jetty6, | ||
jwebunit, | ||
mockito_all, | ||
|
@@ -205,7 +207,6 @@ lazy val webkit = | |
} //workaround for scala/scala-dev#249 | ||
} | ||
) | ||
.settings(yuiCompressor.Plugin.yuiSettings: _*) | ||
.enablePlugins(SbtWeb) | ||
|
||
// Persistence Projects | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,15 +16,11 @@ | |
|
||
import sbt._ | ||
import Keys._ | ||
import net.liftweb.sbt.LiftBuildPlugin.{crossMapped, defaultOrMapped} | ||
|
||
|
||
object Dependencies { | ||
|
||
type ModuleMap = String => ModuleID | ||
|
||
lazy val CVMappingAll = crossMapped("2.11.7" -> "2.11") | ||
|
||
lazy val slf4jVersion = "1.7.25" | ||
|
||
// Compile scope: | ||
|
@@ -40,11 +36,11 @@ object Dependencies { | |
lazy val mongo_java_driver = "org.mongodb" % "mongodb-driver" % "3.7.1" | ||
lazy val mongo_java_driver_async = "org.mongodb" % "mongodb-driver-async" % "3.7.1" | ||
lazy val paranamer = "com.thoughtworks.paranamer" % "paranamer" % "2.8" | ||
lazy val scalajpa = "org.scala-libs" % "scalajpa" % "1.5" cross CVMappingAll | ||
lazy val scalajpa = "org.scala-libs" % "scalajpa" % "1.5" | ||
lazy val scalap: ModuleMap = "org.scala-lang" % "scalap" % _ | ||
lazy val scala_compiler: ModuleMap = "org.scala-lang" % "scala-compiler" % _ | ||
lazy val scalaz7_core = "org.scalaz" % "scalaz-core" % "7.2.24" cross CVMappingAll | ||
lazy val squeryl = "org.squeryl" % "squeryl" % "0.9.5-7" cross CVMappingAll | ||
lazy val scalaz7_core = "org.scalaz" % "scalaz-core" % "7.2.24" | ||
lazy val squeryl = "org.squeryl" % "squeryl" % "0.9.5-7" | ||
lazy val slf4j_api = "org.slf4j" % "slf4j-api" % slf4jVersion | ||
lazy val scala_xml = "org.scala-lang.modules" %% "scala-xml" % "1.0.6" | ||
lazy val rhino = "org.mozilla" % "rhino" % "1.7.10" | ||
|
@@ -87,7 +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" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why did we need this main-classpath variant? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. webkit provides some things that depend on specs2 (e.g. MockWeb) |
||
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 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" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
# Deprecate using build.properties, use -Dsbt.version=... in launcher arg instead | ||
sbt.version=0.13.16 | ||
sbt.version=1.2.6 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
DefaultOptions.addPluginResolvers | ||
|
||
resolvers += "sbt-idea-repo" at "http://mpeltonen.github.com/maven/" | ||
|
||
addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.6.0") | ||
|
||
resolvers += Resolver.typesafeRepo("releases") | ||
|
||
addSbtPlugin("com.typesafe.sbt" % "sbt-web" % "1.2.2") | ||
addSbtPlugin("com.typesafe.sbt" % "sbt-web" % "1.4.3") | ||
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) |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this something we can nuke now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, yes, I had planned to replace this with the unidoc plugin but under either implementation I'm getting..... fun errrors: