Skip to content

Commit

Permalink
Cross-compile to Scala 2.12.
Browse files Browse the repository at this point in the history
  • Loading branch information
rpiaggio committed Feb 17, 2017
1 parent 6f31151 commit 45de08a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import sbt.Keys._

scalaVersion := "2.12.1"

crossScalaVersions := Seq("2.11.8", "2.12.1")

def BaseProject(name: String): Project =
Project(name, file(name))
.settings(
organization := "com.zoepepper",
version := "1.0.6",
scalaVersion := "2.11.8",
version := "1.0.7",
scalacOptions ++= Seq("-deprecation", "-feature", "-Xfatal-warnings"),
homepage := Some(url("https://github.com/zoepepper/scalajs-jsjoda")),
licenses +=("BSD 3-Clause", url("http://opensource.org/licenses/BSD-3-Clause")),
Expand All @@ -25,7 +28,7 @@ def BaseProject(name: String): Project =
<developers>
<developer>
<id>zoepepper</id>
<name>Zoë Pepper</name>
<name>Zoe Pepper</name>
<url>https://github.com/zoepepper/</url>
</developer>
<developer>
Expand Down Expand Up @@ -59,4 +62,4 @@ lazy val javaTime =
)
.dependsOn(facade)

packagedArtifacts in file(".") := Map.empty
//packagedArtifacts in file(".") := Map.empty

0 comments on commit 45de08a

Please sign in to comment.