Commit 5c81c46a authored by Boris Byk's avatar Boris Byk
Browse files

Enable cross-build

According to
[Cross-Build](http://www.scala-sbt.org/0.12.1/docs/Detailed-Topics/Cross-Build.html) it
is possible to make sbt build through a set of target scala versions and
according to
[Library-Deps](http://www.scala-sbt.org/0.12.1/docs/Getting-Started/Library-Dependencies.html#getting-the-right-scala-version-with)
the current Scala version is use can be applied to a dependency.

I ran

```
sbt clean; sbt +test;
```

and it was successful. The plus sign is there to enable the cross-build.
parent c8eec4a2
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ lazy val commonSettings = Seq(
  organization := "com.kjetland",
  organizationName := "mbknor",
  version := "1.0.7-SNAPSHOT",
  scalaVersion := "2.11.8",
  crossScalaVersions := Seq("2.10.4", "2.11.8"),
  publishMavenStyle := true,
  publishArtifact in Test := false,
  pomIncludeRepository := { _ => false },
@@ -52,10 +52,10 @@ lazy val deps = Seq(
  "com.fasterxml.jackson.core" % "jackson-databind" % jacksonVersion,
  "javax.validation" % "validation-api" % "1.1.0.Final",
  "org.slf4j" % "slf4j-api" % slf4jVersion,
  "org.scalatest" % "scalatest_2.11" % "2.2.4" % "test",
  "org.scalatest" %% "scalatest" % "2.2.4" % "test",
  "ch.qos.logback" % "logback-classic" % "1.1.3" % "test",
  "com.github.fge" % "json-schema-validator" % "2.2.6" % "test",
  "com.fasterxml.jackson.module" % "jackson-module-scala_2.11" % jacksonModuleScalaVersion % "test",
  "com.fasterxml.jackson.module" %% "jackson-module-scala" % jacksonModuleScalaVersion % "test",
  "com.fasterxml.jackson.datatype" % "jackson-datatype-jdk8" % jacksonVersion % "test",
  "com.fasterxml.jackson.datatype" % "jackson-datatype-jsr310" % jacksonVersion % "test",
  "joda-time" % "joda-time" % "2.9.4" % "test",