-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathbuild.sbt
50 lines (38 loc) · 1.86 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
import com.lucidchart.sbtcross.{CrossableProject, LibraryVersionAxis}
val playAxis = new LibraryVersionAxis("play", SettingKey[String]("playVersion"), LibraryVersionAxis.minorVersion)
def play = Project("play", file("play")).cross.cross(playAxis)
def `play-active` = Project("play-active", file("play-active"))
.cross.cross(playAxis).dependsOn(CrossableProject.toDependency(play))
lazy val `play_2.13_2.8` = play("2.8.8")("2.13.6")
lazy val `play_2.13_2.7` = play("2.7.9")("2.13.6")
lazy val `play_2.12_2.8` = play("2.8.8")("2.12.14")
lazy val `play_2.12_2.7` = play("2.7.9")("2.12.12")
lazy val `play_2.12_2.6` = play("2.6.25")("2.12.14")
lazy val `play_2.11_2.7` = play("2.7.9")("2.11.12")
lazy val `play_2.11_2.6` = play("2.6.25")("2.11.12")
inScope(Global)(Seq(
credentials += Credentials(
"Sonatype Nexus Repository Manager",
"oss.sonatype.org",
sys.env.getOrElse("SONATYPE_USERNAME", ""),
sys.env.getOrElse("SONATYPE_PASSWORD", ""
)),
developers += Developer("pauldraper", "Paul Draper", "[email protected]", url("https://github.com/pauldraper")),
homepage := Some(url("https://github.com/lucidsoftware/opentracing-playframework")),
licenses += "Apache 2.0 License" -> url("https://www.apache.org/licenses/LICENSE-2.0"),
organization := "com.lucidchart",
organizationHomepage := Some(url("http://opentracing.io/")),
organizationName := "OpenTracing",
PgpKeys.pgpPassphrase := Some(Array.emptyCharArray),
resolvers += Resolver.typesafeRepo("releases"),
scalaVersion := "2.12.8",
scmInfo := Some(ScmInfo(
url("https://github.com/lucidsoftware/opentracing-playframework"),
"scm:git:[email protected]:lucidsoftware/opentracing-playframework.git"
)),
startYear := Some(2017),
publishMavenStyle := true,
version := sys.props.getOrElse("build.version", "0-SNAPSHOT")
))
skip in publish := true
publishTo := sonatypePublishToBundle.value