gatling / gatling-build-plugin   6.2.1

Apache License 2.0 Website GitHub

A SBT plugin to share common settings across Gatling's projects' builds

Scala versions: 2.12
sbt plugins: 1.x

gatling-build-plugin

badge

SBT plugins to share common settings across Gatling’s projects' builds.

GatlingOssPlugin

Common settings for OSS project in io.gatling group.

How to use

build.sbt
inScope(Global) {
  Seq(
    githubPath := "gatling/my-awesome-project", // (1)
    gatlingDevelopers := Seq( // (2)
      GatlingDeveloper("[email protected]", "John Smith", isGatlingCorp = false)
    )
  )
}

lazy val root = (project in file("."))
  .enablePlugins(GatlingOssPlugin)
  .settings(
    name := "my-awesome-project" // (3)
  )
  1. github path for pom.xml SCM info

  2. developers and contributors for pom.xml developers

  3. artifact name

version.sbt
version := "0.0.1-SNAPSHOT"

New commands

sbt gatling-release <release-type>

release-type:

  • minor: only master, create a minor branch (x.y)

  • patch: only on minor branches (x.y)

  • milestone: on any branch, only a tag and a release on configured repository.

GatlingCorpPlugin

The purpose is internal only.

License

This project is licensed under Apache License version 2, see LICENSE.txt.