File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,13 @@ object BuildSettings {
11
11
val buildOrganization = " uk.co.randomcoding"
12
12
val buildVersion = " 0.1.0-SNAPSHOT"
13
13
val buildScalaVersion = " 2.9.2"
14
+ val crossBuildScalaVersions = Seq (" 2.9.1" )
14
15
15
16
val buildSettings = Defaults .defaultSettings ++ Seq (
16
17
organization := buildOrganization,
17
18
version := buildVersion,
18
19
scalaVersion := buildScalaVersion,
20
+ crossScalaVersions := crossBuildScalaVersions ++ Seq (buildScalaVersion),
19
21
parallelExecution in Test := false ,
20
22
shellPrompt := ShellPrompt .buildShellPrompt,
21
23
scalacOptions := Seq (" -deprecation" , " -unchecked" ),
Original file line number Diff line number Diff line change @@ -8,7 +8,10 @@ object Dependencies {
8
8
val liftVersion = " 2.4"
9
9
10
10
// Functions to create dependencies
11
- val liftDep = (componentId : String , scope : String ) => " net.liftweb" %% componentId % liftVersion % scope
11
+ val liftDep = (componentId : String , scope : String ) => {
12
+ val id = " %s_2.9.1" .format(componentId)
13
+ " net.liftweb" % id % liftVersion % scope
14
+ }
12
15
13
16
// Actual dependencies
14
17
// liftweb
@@ -18,7 +21,7 @@ object Dependencies {
18
21
val liftMongoRecord = liftDep(" lift-mongodb-record" , " compile" )
19
22
20
23
// Rogue - used for Mongo DB Queries
21
- val rogue = " com.foursquare" %% " rogue " % " 1.1.1 " intransitive()
24
+ val rogue = " com.foursquare" % " rogue_2.9.1 " % " 1.1.8 " intransitive()
22
25
23
26
// Joda time
24
27
val jodaTime = " joda-time" % " joda-time" % " 2.0"
@@ -27,6 +30,7 @@ object Dependencies {
27
30
val logback = " ch.qos.logback" % " logback-classic" % " 1.0.0"
28
31
29
32
val scalatest = " org.scalatest" %% " scalatest" % " 1.8" % " test"
33
+ val scalatestInCompile = " org.scalatest" %% " scalatest" % " 1.8"
30
34
31
35
val groovy = " org.codehaus.groovy" % " groovy" % " 2.0.0"
32
36
Original file line number Diff line number Diff line change @@ -36,6 +36,6 @@ object ProjectBuild extends Build {
36
36
37
37
val commonDeps = testDeps ++ jodaDeps
38
38
val coreProjectDeps = commonDeps
39
- val liftProjectDeps = commonDeps ++ liftDeps
39
+ val liftProjectDeps = jodaDeps ++ liftDeps ++ Seq (scalatestInCompile)
40
40
}
41
41
You can’t perform that action at this time.
0 commit comments