File: build.sbt

package info (click to toggle)
sbt-serialization 0.1.2%2Brepack-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, trixie
  • size: 296 kB
  • sloc: xml: 110; makefile: 13
file content (48 lines) | stat: -rw-r--r-- 1,822 bytes parent folder | download
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
import Dependencies._
import com.typesafe.sbt.SbtGit._

lazy val commonSettings = Seq(
  git.baseVersion := "0.1.2",
  scalaVersion := scala211Version,
  crossScalaVersions := Seq(scala210Version, scala211Version),
  libraryDependencies ++= Seq(junitInterface % Test, scalaCheck % Test),
  bintrayOrganization := Some("sbt"),
  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")
)

lazy val root = (project in file(".")).
  aggregate(serialization).
  settings(
    inThisBuild(Seq(
      organization := "org.scala-sbt",
      homepage := Some(url("https://github.com/sbt/serialization")),
      licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
      scmInfo := Some(ScmInfo(url("https://github.com/sbt/serialization"), "git@github.com: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
  )