Skip to content

Commit

Permalink
2.10: Build configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Naftoli Gugenheim committed Jan 7, 2013
1 parent 9e2f87f commit ca08df6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ startYear in ThisBuild := Some(2006)

organizationName in ThisBuild := "WorldWide Conferencing, LLC"

crossScalaVersions in ThisBuild := Seq("2.9.2", "2.9.1-1", "2.9.1")
crossScalaVersions in ThisBuild := Seq("2.10.0", "2.9.2", "2.9.1-1", "2.9.1")

libraryDependencies in ThisBuild ++= Seq(specs2, scalacheck)
libraryDependencies in ThisBuild <++= scalaVersion {sv => Seq(specs2(sv), scalacheck) }

// Settings for Sonatype compliance
pomIncludeRepository in ThisBuild := { _ => false }
Expand Down
3 changes: 2 additions & 1 deletion project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,9 @@ object BuildDef extends Build {
.settings(description := "Webkit Library",
parallelExecution in Test := false,
libraryDependencies <++= scalaVersion { sv =>
Seq(commons_fileupload, servlet_api, specs2.copy(configurations = Some("provided")), jetty6, jwebunit)
Seq(commons_fileupload, servlet_api, specs2(sv).copy(configurations = Some("provided")), jetty6, jwebunit)
},
libraryDependencies <++= scalaVersion { case "2.10.0" => scalaactors::Nil case _ => Nil },
initialize in Test <<= (sourceDirectory in Test) { src =>
System.setProperty("net.liftweb.webapptest.src.test.webapp", (src / "webapp").absString)
})
Expand Down
12 changes: 7 additions & 5 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ object Dependencies {
type ModuleMap = String => ModuleID

lazy val CVMapping2911 = crossMapped("2.9.1-1" -> "2.9.1")
lazy val CVMapping29 = crossMapped("2.9.1-1" -> "2.9.2", "2.9.1" -> "2.9.2")
lazy val CVMappingAll = crossMapped("2.9.2" -> "2.9.1", "2.9.1-1" -> "2.9.1")
lazy val CVMapping29 = crossMapped("2.10.0" -> "2.10", "2.9.1-1" -> "2.9.2", "2.9.1" -> "2.9.2")
lazy val CVMappingAll = crossMapped("2.10.0" -> "2.10", "2.9.2" -> "2.9.1", "2.9.1-1" -> "2.9.1")

lazy val slf4jVersion = "1.7.2"

Expand All @@ -46,9 +46,10 @@ object Dependencies {
lazy val scalajpa = "org.scala-libs" % "scalajpa" % "1.4" cross CVMapping29
lazy val scalap: ModuleMap = "org.scala-lang" % "scalap" % _
lazy val scala_compiler: ModuleMap = "org.scala-lang" % "scala-compiler" % _
lazy val scalaz_core: ModuleMap = sv => scalazGroup(sv) % "scalaz-core" % scalazVersion(sv) cross CVMappingAll
lazy val scalaz_core: ModuleMap = sv => scalazGroup(sv) % "scalaz-core" % scalazVersion(sv) cross crossMapped("2.10.0" -> "2.10.0-RC5", "2.9.2" -> "2.9.1", "2.9.1-1" -> "2.9.1")

This comment has been minimized.

Copy link
@fmpwizard

fmpwizard Jan 8, 2013

Member

do you know if we'll get scalaz 6 build for 2.10 final?

This comment has been minimized.

Copy link
@nafg

nafg Jan 8, 2013

Author Contributor

Oh they actually did release it since. Let me update it.

This comment has been minimized.

Copy link
@LeifWarner

LeifWarner Mar 14, 2013

This could probably stand to be updated - I'm including lift-json-scalaz 2.5-RC2 on Scala 2.9.2 right now, and it's downloading scalaz-core_2.9.1, instead of just using the one I'm already using - http://search.maven.org/#artifactdetails%7Corg.scalaz%7Cscalaz-core_2.9.2%7C6.0.4%7Cjar

This comment has been minimized.

Copy link
@fmpwizard

fmpwizard Mar 15, 2013

Member

Hi, could you open a ticket and then email the lift mailing list? I'll take care of it before we do the next Lift build. Thanks

lazy val slf4j_api = "org.slf4j" % "slf4j-api" % slf4jVersion
lazy val squeryl = "org.squeryl" % "squeryl" % "0.9.5-6" cross CVMapping29
@deprecated lazy val scalaactors= "org.scala-lang" % "scala-actors" % "2.10.0"

// Aliases
lazy val mongo_driver = mongo_java_driver
Expand Down Expand Up @@ -80,7 +81,8 @@ object Dependencies {
lazy val jetty6 = "org.mortbay.jetty" % "jetty" % "6.1.26" % "test"
lazy val jwebunit = "net.sourceforge.jwebunit" % "jwebunit-htmlunit-plugin" % "2.5" % "test"
lazy val mockito_all = "org.mockito" % "mockito-all" % "1.9.0" % "test"
lazy val scalacheck = "org.scalacheck" % "scalacheck" % "1.10.0" % "test" cross CVMappingAll
lazy val specs2 = "org.specs2" % "specs2" % "1.11" % "test" cross CVMappingAll
lazy val scalacheck = "org.scalacheck" %% "scalacheck" % "1.10.0" % "test"
lazy val specs2: ModuleMap =
"org.specs2" %% "specs2" % defaultOrMapped("1.12.3")(_)

}

0 comments on commit ca08df6

Please sign in to comment.