-
Notifications
You must be signed in to change notification settings - Fork 1
/
publish.sbt
38 lines (32 loc) · 1.32 KB
/
publish.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
ThisBuild / organizationName := "bedrockstreaming"
ThisBuild / organizationHomepage := Some(url("https://github.com/BedrockStreaming/"))
ThisBuild / scmInfo := Some(
ScmInfo(url("https://github.com/BedrockStreaming/sparktest"), "scm:[email protected]:BedrockStreaming/sparktest.git")
)
ThisBuild / developers := List(
Developer(id = "tbony", name = "Thomas BONY", email = "[email protected]", url = url("https://github.com/tbony")),
Developer(
id = "fmarsault",
name = "Félix MARSAULT",
email = "[email protected]",
url = url("https://github.com/fmarsault")
),
Developer(
id = "rinzool",
name = "Quentin NAMBOT",
email = "[email protected]",
url = url("https://github.com/rinzool")
)
)
ThisBuild / description := "A testing tool for Scala and Spark developers ."
ThisBuild / licenses := List(
"MIT License" -> new URL("https://github.com/BedrockStreaming/sparktest/blob/main/LICENSE")
)
ThisBuild / homepage := Some(url("https://github.com/BedrockStreaming/sparktest/"))
ThisBuild / pomIncludeRepository := { _ => false }
ThisBuild / publishTo := {
val nexus = "https://s01.oss.sonatype.org/"
if (isSnapshot.value) Some("snapshots".at(nexus + "content/repositories/snapshots"))
else Some("releases".at(nexus + "content/repositories/releases/"))
}
ThisBuild / publishMavenStyle := true