<commit_before># ci.gradle [![Maven Central Latest](https://maven-badges.herokuapp.com/maven-central/net.wasdev.wlp.gradle.plugins/liberty-gradle-plugin/badge.svg)](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22net.wasdev.wlp.gradle.plugins%22%20AND%20a%3A%22liberty-gradle-plugin%22) [![Build Status](https://travis-ci.org/WASdev/ci.gradle.svg?branch=master)](https://travis-ci.org/WASdev/ci.gradle) [![Build status](https://ci.appveyor.com/api/projects/status/ebq1a5qtt8ndhc57/branch/master?svg=true)](https://ci.appveyor.com/project/wasdevb1/ci-gradle-6hm2g) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/9fa7d434945c452cae1c4958bfda8010)](https://www.codacy.com/app/wasdevb1/ci.gradle?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=WASdev/ci.gradle&amp;utm_campaign=Badge_Grade)

The Liberty Gradle plugin supports install and operational control of Liberty runtime and servers. Use it to manage your application on Liberty for integration test and to create Liberty server packages.

* [Build](#build)
* [Usage](#usage)
* [Plugin Configuration](#plugin-configuration)
* [Tasks](#tasks)


## Build

Clone this repository and then, with a JRE on the path, execute the following command in the root directory.

```bash
$ ./gradlew build
```

This will download Gradle and then build the plugin `liberty-gradle-plugin-2.0.jar` in to the `build\libs` directory. It is also possible to install the plugin in to your local Maven repository using `gradlew install`.

To build the plugin and run the integration tests execute the following commands in the root directory.

1. To run the integration tests using an existing Liberty server installation.
 ```bash
 $ ./gradlew build -Prunit=offline -DwlpInstallDir=<liberty_install_directory>
 ```

2. To run the integration tests against an automatically downloaded and installed Liberty server. The `wlpLicense` parameter is only needed for Liberty packaged as a JAR file.
 ```bash
 $ ./gradlew build -Prunit=online -DwlpLicense=<liberty_licesnse_code> -DwlpVersion=<liberty_version>
 ```<commit_msg>Added link to Extensions<commit_after># ci.gradle [![Maven Central Latest](https://maven-badges.herokuapp.com/maven-central/net.wasdev.wlp.gradle.plugins/liberty-gradle-plugin/badge.svg)](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22net.wasdev.wlp.gradle.plugins%22%20AND%20a%3A%22liberty-gradle-plugin%22) [![Build Status](https://travis-ci.org/WASdev/ci.gradle.svg?branch=master)](https://travis-ci.org/WASdev/ci.gradle) [![Build status](https://ci.appveyor.com/api/projects/status/ebq1a5qtt8ndhc57/branch/master?svg=true)](https://ci.appveyor.com/project/wasdevb1/ci-gradle-6hm2g) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/9fa7d434945c452cae1c4958bfda8010)](https://www.codacy.com/app/wasdevb1/ci.gradle?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=WASdev/ci.gradle&amp;utm_campaign=Badge_Grade)

The Liberty Gradle plugin supports install and operational control of Liberty runtime and servers. Use it to manage your application on Liberty for integration test and to create Liberty server packages.

* [Build](#build)
* [Usage](#usage)
* [Plugin Configuration](#plugin-configuration)
* [Tasks](#tasks)
* [Extensions](#extensions)


## Build

Clone this repository and then, with a JRE on the path, execute the following command in the root directory.

```bash
$ ./gradlew build
```

This will download Gradle and then build the plugin `liberty-gradle-plugin-2.0.jar` in to the `build\libs` directory. It is also possible to install the plugin in to your local Maven repository using `gradlew install`.

To build the plugin and run the integration tests execute the following commands in the root directory.

1. To run the integration tests using an existing Liberty server installation.
 ```bash
 $ ./gradlew build -Prunit=offline -DwlpInstallDir=<liberty_install_directory>
 ```

2. To run the integration tests against an automatically downloaded and installed Liberty server. The `wlpLicense` parameter is only needed for Liberty packaged as a JAR file.
 ```bash
 $ ./gradlew build -Prunit=online -DwlpLicense=<liberty_licesnse_code> -DwlpVersion=<liberty_version>
 ```
{'fraction_non_alphanumeric': 0.12246842983083155, 'fraction_numerical': 0.024303073624017155, 'mean_word_length': 5.792880258899676, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 14, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1708364', 'n_tokens_mistral': 1457, 'n_tokens_neox': 1355, 'n_words': 342}