Skip to content

Commit

Permalink
Merge pull request #7 from xdotai/cross-compile
Browse files Browse the repository at this point in the history
cross compile 2.12 and 2.11
  • Loading branch information
caente committed Dec 18, 2018
2 parents 730f374 + 4587d4d commit a804bb6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions build.sbt
Expand Up @@ -5,11 +5,16 @@ import com.typesafe.sbt.SbtScalariform.{ScalariformKeys, autoImport}
import xerial.sbt.Sonatype._

val projectName = "lens"
version := "2.0.0"
version := "2.0.1"
name := projectName
scalaVersion := "2.12.6"
scalaVersion := "2.12.8"
crossScalaVersions := Seq("2.11.11", scalaVersion.value)
description := "Convenient ad-hoc lens Syntax on top of Monocle"

useGpg := true

credentials += Credentials(Path.userHome / ".sbt" / "sonatype_credential")

val monocleVersion = "1.5.0"
libraryDependencies ++= Seq(
"com.github.julien-truffaut" %% "monocle-core" % monocleVersion,
Expand All @@ -28,6 +33,7 @@ scalacOptions in (Compile, doc) ++= Seq(
"-implicits",
"-groups"
)

scalariformPreferences := scalariformPreferences.value
.setPreference(AlignParameters, true)
.setPreference(AlignArguments, true)
Expand Down

0 comments on commit a804bb6

Please sign in to comment.