-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathbuild.sbt
34 lines (28 loc) · 1.14 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
import play.api.libs.json.Json
lazy val admin = project.dependsOn(worker)
lazy val commonSettings = Seq(publishTo := sonatypePublishToBundle.value)
lazy val worker = project.settings(publishTo := sonatypePublishToBundle.value)
PgpKeys.pgpPassphrase in Global := Some(Array.emptyCharArray)
inThisBuild(
Seq(
scalaVersion := "3.3.4",
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",
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