-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
31 lines (27 loc) · 1.13 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
import net.moznion.sbt.spotless.config.{ GoogleJavaFormatConfig, JavaConfig, SpotlessConfig }
enablePlugins(GatlingOssPlugin)
ThisBuild / sonatypeCredentialHost := "s01.oss.sonatype.org"
ThisBuild / organization := "io.gatling"
ThisBuild / licenses := Seq("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.html"))
ThisBuild / startYear := Some(2024)
Global / githubPath := "gatling/gatling-shared-cli"
Global / gatlingDevelopers := Seq(
GatlingDeveloper("[email protected]", "Stephane Landelle", isGatlingCorp = true)
)
lazy val root = (project in file("."))
.enablePlugins(GatlingOssPlugin)
.settings(
name := "gatling-shared-cli",
crossPaths := false, // drop off Scala suffix from artifact names.
autoScalaLibrary := false, // exclude scala-library from dependencies
libraryDependencies ++= Seq(
"com.github.spotbugs" % "spotbugs-annotations" % "4.8.6"
),
spotlessJava := JavaConfig(
googleJavaFormat = GoogleJavaFormatConfig()
),
spotless := SpotlessConfig(
applyOnCompile = !sys.env.getOrElse("CI", "false").toBoolean
),
Compile / packageSrc / mappings := Nil
)