<commit_before>.. _gradle-plugin:

#############
Gradle plugin
#############

This Gradle plugin was initially contributed by `<NAME> <https://github.com/eshepelyuk>`_ and `<NAME> <https://github.com/lkishalmi>`_.

This Gradle plugin integrates Gatling with Gradle, allowing to use Gatling as a testing framework.

Versions
========

Check out available versions on `Gradle Plugins Portal <https://plugins.gradle.org/>`_.

Setup
=====

In ``build.gradle``, add:

.. code-block:: groovy

   plugins {
     id 'io.gatling.gradle' version "MANUALLY_REPLACE_WITH_LATEST_VERSION"
   }


You'll also need to add a repository if not already added:

.. code-block:: groovy

   repositories {
     mavenCentral()
   }

Demo sample
===========

You can find a `sample project demoing the io.gatling.gradle plugin <https://github.com/gatling/gatling-gradle-plugin-demo>`_ in Gatling's Github organization.

Compatibility<commit_msg>Adding mavenCentral repository is no longer required<commit_after>.. _gradle-plugin:

#############
Gradle plugin
#############

This Gradle plugin was initially contributed by `<NAME> <https://github.com/eshepelyuk>`_ and `<NAME> <https://github.com/lkishalmi>`_.

This Gradle plugin integrates Gatling with Gradle, allowing to use Gatling as a testing framework.

Versions
========

Check out available versions on `Gradle Plugins Portal <https://plugins.gradle.org/>`_.

Setup
=====

In ``build.gradle``, add:

.. code-block:: groovy

   plugins {
     id 'io.gatling.gradle' version "MANUALLY_REPLACE_WITH_LATEST_VERSION"
   }

Demo sample
===========

You can find a `sample project demoing the io.gatling.gradle plugin <https://github.com/gatling/gatling-gradle-plugin-demo>`_ in Gatling's Github organization.

Compatibility
{'fraction_non_alphanumeric': 0.15468036529680365, 'fraction_numerical': 0.0, 'mean_word_length': 4.565079365079365, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3939898', 'n_tokens_mistral': 593, 'n_tokens_neox': 541, 'n_words': 160}