Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/guicaulada/cookiecutter-java-gradle-app

Cookiecutter for Java with Gradle, Groovy, JUnit 4, Mockito, PowerMock, GitHub Actions, Codecov and SonarQube.
https://github.com/guicaulada/cookiecutter-java-gradle-app

Last synced: about 1 month ago
JSON representation

Cookiecutter for Java with Gradle, Groovy, JUnit 4, Mockito, PowerMock, GitHub Actions, Codecov and SonarQube.

Awesome Lists containing this project

README

        

# cookiecutter-java-gradle-app

Cookiecutter for Java with Gradle, Groovy, JUnit 4, Mockito, PowerMock, GitHub Actions, Codecov and SonarQube.

## Features

`Gradle`, `Groovy`, `JUnit 4`, `Mockito`, `PowerMock`, `GitHub Actions`, `Codecov`, `SonarQube`.

**Note**:

1. for private projects, you must set the `CODECOV_TOKEN` environment
variable under `Secrets`, otherwise remove the `coverage` job from `.github/workflows/config.yml`.
2. for `SonarQube` to work you must set the `SONAR_TOKEN` and `SONAR_HOST` environment
variables under `Secrets`, otherwise comment or remove the `quality` job from `.github/workflows/config.yml`.
3. for use with SonarCloud you will have to edit the `sonar.projectKey` and `sonar.organization`
according to your project on their website.
4. for automatic releases you must push tags following the pattern `v*`.

## Installation

Install cookiecutter:

```
$ pip install --user cookiecutter
```

Create a new repo:

```
$ cookiecutter [email protected]:Sighmir/cookiecutter-java-gradle-app
```