diff options
author | Juuxel <6596629+Juuxel@users.noreply.github.com> | 2020-10-24 14:20:09 +0300 |
---|---|---|
committer | Juuxel <6596629+Juuxel@users.noreply.github.com> | 2020-10-24 14:20:09 +0300 |
commit | d28de77017fc810cd253021470bc7de6f9a96f12 (patch) | |
tree | 76ac08b8a0999009cdf9c84e63662b6368464f3f /build.gradle | |
parent | 6d564aa54cbbda7f3cbc8225f8561e8518009de2 (diff) | |
download | LibGui-d28de77017fc810cd253021470bc7de6f9a96f12.tar.gz LibGui-d28de77017fc810cd253021470bc7de6f9a96f12.tar.bz2 LibGui-d28de77017fc810cd253021470bc7de6f9a96f12.zip |
Add checkstyle to check code format
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index fbb61fa..074acc2 100644 --- a/build.gradle +++ b/build.gradle @@ -2,6 +2,7 @@ plugins { id 'fabric-loom' version '0.5-SNAPSHOT' id 'maven-publish' id "com.jfrog.artifactory" version "4.9.0" + id 'checkstyle' } sourceCompatibility = JavaVersion.VERSION_1_8 @@ -69,6 +70,11 @@ jar { from "LICENSE" } +checkstyle { + configFile = file('checkstyle.xml') + toolVersion = '8.36.2' +} + // configure the maven publication publishing { publications { |