-
Notifications
You must be signed in to change notification settings - Fork 1
/
publish.sbt
37 lines (31 loc) · 1.38 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
ThisBuild / versionScheme := Some("semver-spec")
ThisBuild / organization := "org.galaxio"
ThisBuild / organizationName := "Galaxio Team"
ThisBuild / organizationHomepage := Some(url("https://github.com/galax-io"))
ThisBuild / description := "Plugin to support JDBC performance testing in Gatling."
ThisBuild / homepage := Some(url("https://github.com/galax-io/gatling-jdbc-plugin"))
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/galax-io/gatling-jdbc-plugin"),
"[email protected]:galax-io/gatling-jdbc-plugin.git",
),
)
ThisBuild / scalaVersion := "2.13.14"
ThisBuild / developers := List(
Developer(
id = "jigarkhwar",
name = "Ioann Akhaltsev",
email = "[email protected]",
url = url("https://github.com/jigarkhwar"),
),
)
// Remove all additional repository other than Maven Central from POM
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 + "service/local/staging/deploy/maven2")
}
ThisBuild / sonatypeCredentialHost := "s01.oss.sonatype.org"
sonatypeRepository := "https://s01.oss.sonatype.org/service/local"
ThisBuild / licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0"))