Skip to content

Commit

Permalink
doc: also explain how to now add the Java plugin to a gradle build
Browse files Browse the repository at this point in the history
  • Loading branch information
slandelle committed Apr 26, 2024
1 parent 8671c51 commit 319916d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,5 +163,5 @@ This new version is a major overhaul and introduces several breaking changes.

* It has the same behavior as the new version of the Maven plugin: interactive by default, unless when running on a CI.
* It now uses a `--simulation=<FullyQualifiedClassName>` option to force the desired simulation instead of the non-standard `gatlingRun-<FullyQualifiedClassName>` pattern.
* It no longer applies the `scala` plugin automatically. It's the responsibility of the user to apply it if needed. See the [demo project](https://github.com/gatling/gatling-gradle-plugin-demo-scala/blob/main/build.gradle#L2) for how to apply the Scala plugin in your gradle build.
* It no longer applies the `java` and `scala` plugins automatically. It's the responsibility of the user to apply the desired plugin for their language of choice. See the relevant demo project for [Java](https://github.com/gatling/gatling-gradle-plugin-demo-java/blob/main/build.gradle#L2) and [Scala](https://github.com/gatling/gatling-gradle-plugin-demo-scala/blob/main/build.gradle#L2) for how to apply the suited plugin in your gradle build.
* It no longer generate a logback conf when there's none defined. `logLevel` and `logHttp` have been dropped and must be removed from your `build.gradle`. Instead, you must add a logback conf file as demoed in our [demo projects](https://github.com/gatling/gatling-gradle-plugin-demo-java/tree/main/src/gatling/resources).

0 comments on commit 319916d

Please sign in to comment.