-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.sbt
37 lines (33 loc) · 1.03 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
name := "util-backports"
organization := "com.github.bigwheel"
version := "2.1"
scalaVersion := "2.13.1"
crossScalaVersions := Seq("2.11.12", "2.12.10", "2.13.1")
Compile / sources := {
scalaVersion.value match {
case CrossVersion.PartialVersion("2", "11" | "12") => (Compile / sources).value
case _ => Nil
}
}
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.8" % Test
)
// about maven publish
publishMavenStyle := true
publishTo := sonatypePublishToBundle.value
publishArtifact in Test := false
licenses := Seq("BSD-3-Clause" -> url("https://github.com/bigwheel/util-backports/blob/master/LICENSE"))
homepage := Some(url("https://github.com/bigwheel/util-backports"))
pomExtra := (
<scm>
<url>[email protected]:bigwheel/util-backports.git</url>
<connection>scm:git:[email protected]:bigwheel/util-backports.git</connection>
</scm>
<developers>
<developer>
<id>bigwheel</id>
<name>k.bigwheel</name>
<url>https://github.com/bigwheel</url>
</developer>
</developers>
)