-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathbuild.sbt
29 lines (23 loc) · 1.32 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
import com.lucidchart.sbtcross.{Axis, CrossableProject, DefaultAxis}
import play.api.libs.json.Json
lazy val admin = project.dependsOn(worker_2_13).settings(scalaVersion := "2.13.5")
lazy val commonSettings = Seq(publishTo := sonatypePublishToBundle.value)
lazy val worker = project.cross
lazy val worker_2_11 = worker("2.11.12").settings(commonSettings)
lazy val worker_2_12 = worker("2.12.12").settings(commonSettings)
lazy val worker_2_13 = worker("2.13.5").settings(commonSettings)
PgpKeys.pgpPassphrase in Global := Some(Array.emptyCharArray)
inThisBuild(Seq(
credentials += Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org", System.getenv("SONATYPE_USERNAME"), System.getenv("SONATYPE_PASSWORD")),
developers ++= List(
Developer("lucidsoftware", "Lucid Software, Inc.", "", url("https://lucid.co/"))
),
licenses += "Apache License, Version 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0"),
homepage := Some(url("https://github.com/lucidsoftware/piezo")),
organization := "com.lucidchart",
scalaVersion := "2.11.12",
scmInfo := Some(ScmInfo(url("https://github.com/lucidsoftware/piezo"), "scm:git:[email protected]:lucidsoftware/piezo.git")),
version := sys.props.getOrElse("build.version", "0-SNAPSHOT"),
versionScheme := Some("early-semver"),
))
publishTo := sonatypePublishToBundle.value