This repository was archived by the owner on Oct 19, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.sbt
53 lines (50 loc) · 2.01 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import Dependencies._
import com.typesafe.tools.mima.core._, ProblemFilters._
lazy val commonSettings = Seq(
git.baseVersion := "0.1.3",
scalaVersion := scala210Version,
crossScalaVersions := Seq(scala210Version, scala211Version),
libraryDependencies ++= Seq(junitInterface % Test, scalaCheck % Test),
bintrayOrganization := Some("sbt"),
bintrayPackage := "serialization",
bintrayRepository := "maven-releases",
scalacOptions <<= (scalaVersion) map { sv =>
Seq("-unchecked", "-deprecation", "-Xmax-classfile-name", "72") ++
{ if (sv.startsWith("2.9")) Seq.empty else Seq("-feature") }
},
javacOptions in Compile := Seq("-target", "1.6", "-source", "1.6"),
javacOptions in (Compile, doc) := Seq("-source", "1.6"),
previousArtifact := None // Some(organization.value %% moduleName.value % "1.0.0")
)
lazy val root = (project in file(".")).
aggregate(serialization).
settings(
inThisBuild(Seq(
organization := "org.scala-sbt",
homepage := Some(url("https://github.com/sbt/serialization")),
description := "serialization facility for sbt",
licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
scmInfo := Some(ScmInfo(url("https://github.com/sbt/serialization"), "[email protected]:sbt/serialization.git")),
developers := List(
Developer("havocp", "Havoc Pennington", "@havocp", url("https://github.com/havocp")),
Developer("eed3si9n", "Eugene Yokota", "@eed3si9n", url("https://github.com/eed3si9n")),
Developer("jsuereth", "Josh Suereth", "@jsuereth", url("https://github.com/jsuereth"))
),
bintrayReleaseOnPublish := false
)),
commonSettings,
publishArtifact := false,
publish := {},
publishLocal := {}
)
lazy val serialization = (project in file("serialization")).
settings(commonSettings: _*).
settings(
parallelExecution in Test := false,
libraryDependencies ++= Seq(
pickling,
junitInterface % Test
) ++ jsonDependencies,
binaryIssueFilters ++= Seq(
)
)