Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 580 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 580 Bytes

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"