Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gatling/gatling-build-plugin

A SBT plugin to share common settings across Gatling's projects' builds
https://github.com/gatling/gatling-build-plugin

gatling

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

= gatling-build-plugin

image::https://github.com/gatling/gatling-build-plugin/workflows/test/badge.svg?branch=master[branch=master]

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
[source,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
[source,sbt]
----
version := "0.0.1-SNAPSHOT"
----

=== New commands

==== sbt gatling-release

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 link:./CONTRIBUTORS.adoc#other_maven_repo[configured repository].

== GatlingCorpPlugin

The purpose is internal only.

== License

This project is licensed under Apache License version 2, see link:./LICENSE.txt[LICENSE.txt].