-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.sbt
More file actions
42 lines (40 loc) · 1.19 KB
/
build.sbt
File metadata and controls
42 lines (40 loc) · 1.19 KB
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
ThisBuild / organization := "io.regadas"
ThisBuild / organizationName := "regadas"
ThisBuild / licenses := Seq(
"APL2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt")
)
ThisBuild / homepage := Some(url("https://github.com/regadas/coursier-apps"))
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/regadas/coursier-apps"),
"scm:git@github.com:regadas/cousier-apps.git"
)
)
ThisBuild / developers := List(
Developer(
id = "regadas",
name = "Filipe Regadas",
email = "",
url = url("https://github.com/regadas")
)
)
ThisBuild / publishMavenStyle := true
ThisBuild / pgpPassphrase := sys.env.get("PGP_PASSPHRASE").map(_.toArray)
ThisBuild / credentials += (for {
username <- sys.env.get("SONATYPE_USERNAME")
password <- sys.env.get("SONATYPE_PASSWORD")
} yield Credentials(
"Sonatype Nexus Repository Manager",
"oss.sonatype.org",
username,
password
))
ThisBuild / dynverSonatypeSnapshots := true
ThisBuild / publishTo := sonatypePublishToBundle.value
publish / skip := true
lazy val apps = project.settings(
name := "coursier-apps",
Compile / resourceDirectory := baseDirectory.value / "resources",
crossPaths := false,
autoScalaLibrary := false
)