/code-style

Checkstyle and formatter settings

Primary LanguageGroovyEclipse Public License 1.0EPL-1.0

code-style

Checkstyle and formatter settings

Usage

Add this repository as a submodule in the folder "code-style" with the following command:

git submodule add https://github.com/test-editor/code-style.git code-style

And then add the following to your build.gradle

apply from: 'code-style/codestyle.gradle'

Cloning into a custom folder

If you need to add the submodule into another folder you will need to set the property codeStyleDir in your Gradle project:

ext.codeStyleDir = 'someCustomFolder'
apply from: "$codeStyleDir/codestyle.gradle"