anchor.diff:  
   === Examples
   
  +Overriding Gatling version and JVM arguments::
  ++
   [source,groovy,subs="attributes"]
   ----
   gatling {
       toolVersion = '{gatlingToolVersion}'
       jvmArgs = [ '-server', '-Xms512M', '-Xmx512M' ]
  +}
  +----
  +
  +Filtering simulations using FQN list::
  ++
  +[source,groovy]
  +----
  +gatling {
  +    simulations = [ 'com.package1.MySimu', 'com.package2.advanced.MySimulation' ] <1>
  +}
  +----
  +<1> only execute `com.package1.MySimu` and `com.package2.advanced.MySimulation` simulations.
  +
  +Filtering simulations using Groovy closure::
  ++
  +[source,groovy]
  +----
  +gatling {
       simulations = {
  -        include "**/folder1/*Simu.scala"    <1>
  -        include "**/folder2/*Simulation.scala"  <2>
  +        include "**/package1/*Simu.scala"    <1>
  +        include "**/package2/*Simulation.scala"  <2>
       }
   }
   ----
  -<1> all `Scala` files from `folder1` ending with `Simu`.
  -<2> all `Scala` files from `folder2` ending with `Simulation`.
  +<1> all `Scala` files from plugin simulation dir subfolder `package1` ending with `Simu`.
  +<2> all `Scala` files from plugin simulation dir subfolder `package2` ending with `Simulation`.
  +
  +== Logging
  +
  +`Gatling` uses `logback` to customize its output.
  +To change logging behaviour, put your `logback.xml` into configuration folder,
  +i.e. `src/gatling/resources/conf` or `src/gatling/conf` depending on choosen project layout.
  +
  +If no custom `logback.xml` provided,
  +by default plugin will implicitly use following configuration.
  +
  +[source,xml]
  +----
  +<?xml version="1.0" encoding="UTF-8"?>
  +<configuration>
  +  <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
  +    <encoder>
  +      <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
  +      <immediateFlush>false</immediateFlush>
  +    </encoder>
  +  </appender>
  +  <root level="${logLevel}"> <1>
  +    <appender-ref ref="CONSOLE"/>
  +  </root>
  +</configuration>
  +----
  +<1> `logLevel` is configured via plugin extension, `WARN` by default.
  +
  +== Dependency Management
  +
  +This plugin defines three configurations `gatling`, `gatlingCompile` and `gatlingRuntime`.
  +By default plugin adds `Gatling` libraries to `gatling` configuration.
  +Configurations `gatlingCompile` and `gatlingRuntime` extend `gatling`, i.e. all dependencies declared in `gatling` will be inherited.
  +
  +Also project classes (`src/main`) and tests classes (`src/test`) are added to `gatlingCompile` and `gatlingRuntime` classpath,
  +so you can reuse existing production and test code in your simulations.
  +
  +Additional dependencies can be added by plugin's users to any of configurations mentioned above.
  +
  +Example::
  +[source,groovy]
  +----
  +dependencies {
  +    gatling 'com.google.code.gson:gson:2.8.0' <1>
  +    gatlingCompile 'org.apache.commons:commons-lang3:3.4' <2>
  +    gatlingRuntime 'cglib:cglib-nodep:3.2.0' <3>
  +}
  +----
  +<1> adding `gson` library, available both in compile and runtime classpath.
  +<2> adding `commons-lang3` to compile classpath for simulations.
  +<3> adding `cglib` to runtime classpath for simulations.
   
   == Tasks
   
  
positive.code: 
  == Project Layout
  
  Plugin supports two source files layouts for `Gatling` simulations and related data.
  
  * Standard Gradle/Maven layout
  * Gatling-like layout
  
negative.code: 
  === Examples
  
  Run all simulations::
  +
    $ gradle gatlingRun
  
  Run single simulation implemented in `com.project.simu.MySimulation` class::
  +
    $ gradle gatlingRun-com.project.simu.MySimulation
  