-
Notifications
You must be signed in to change notification settings - Fork 2
/
publish.sbt
32 lines (28 loc) · 1.05 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
ThisBuild / organization := "io.github.amerousful"
ThisBuild / scalaVersion := "2.13.8"
ThisBuild / versionScheme := Some("pvp")
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/Amerousful/gatling-kafka"),
"scm:git:git://github.com/Amerousful/gatling-kafka.git"
)
)
ThisBuild / developers := List(
Developer(
id = "Amerousful",
name = "Pavel Bairov",
email = "amerousful@gmail.com",
url = url("https://github.com/Amerousful")
)
)
ThisBuild / description := "Gatling Kafka Plugin"
ThisBuild / licenses := List("The MIT License (MIT)" -> new URL("https://opensource.org/licenses/MIT"))
ThisBuild / homepage := Some(url("https://github.com/Amerousful/gatling-kafka"))
ThisBuild / crossPaths := false
ThisBuild / pomIncludeRepository := { _ => false }
ThisBuild / publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value) Some("snapshots" at nexus + "content/repositories/snapshots")
else Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
ThisBuild / publishMavenStyle := true