Gatling Plugin for Gradle
30
stars
364
commits
Groovy
primary language
Sep 3, 2026
updated
[!WARNING] The documentation now lives on the Gatling website and can be found here.
To manually test this plugin in a sample project, see the Gradle documentation.
Note that the test project must use Gradle 7.1 or later for includeBuild within pluginManagement to work.
Steps to be able to dev test this plugin:
Clone this project
In a separate directory, create a toy project with a file called settings.gradle containing:
includeBuild "<path/to>/gatling-gradle-plugin"
And a file called build.gradle containing:
plugins {
id "java"
id "io.gatling.gradle"
}
repositories {
mavenCentral()
}
To publish locally, you need to enable maven-publish plugin, add a version and a group. In build.gradle:
plugins {
...
id 'maven-publish'
}
version '42.0.0-SNAPSHOT'
group 'io.gatling'
You can do a gradle publishToMavenLocal to publish a snapshot version to your local maven repository.
To use this local plugin in your project:
settings.gradle file in the root of your project with the following content:pluginManagement {
repositories {
mavenLocal()
gradlePluginPortal()
}
}
Groovy
89.8%
Scala
4.0%
Java
4.0%
Kotlin
2.2%
Gatling Plugin for Gradle
30
stars
364
commits
Groovy
primary language
Sep 3, 2026
updated
[!WARNING] The documentation now lives on the Gatling website and can be found here.
To manually test this plugin in a sample project, see the Gradle documentation.
Note that the test project must use Gradle 7.1 or later for includeBuild within pluginManagement to work.
Steps to be able to dev test this plugin:
Clone this project
In a separate directory, create a toy project with a file called settings.gradle containing:
includeBuild "<path/to>/gatling-gradle-plugin"
And a file called build.gradle containing:
plugins {
id "java"
id "io.gatling.gradle"
}
repositories {
mavenCentral()
}
To publish locally, you need to enable maven-publish plugin, add a version and a group. In build.gradle:
plugins {
...
id 'maven-publish'
}
version '42.0.0-SNAPSHOT'
group 'io.gatling'
You can do a gradle publishToMavenLocal to publish a snapshot version to your local maven repository.
To use this local plugin in your project:
settings.gradle file in the root of your project with the following content:pluginManagement {
repositories {
mavenLocal()
gradlePluginPortal()
}
}
Groovy
89.8%
Scala
4.0%
Java
4.0%
Kotlin
2.2%