Add basic groovy code style validation.

IDK how well this would work on a gradle script but might be interesting to try on yarn or something.
This commit is contained in:
modmuss50
2021-03-25 22:57:28 +00:00
parent 759cac2e6b
commit ff6701e817
5 changed files with 76 additions and 3 deletions

View File

@@ -7,6 +7,7 @@ plugins {
id 'groovy'
id 'checkstyle'
id 'jacoco'
id 'codenarc'
id "org.cadixdev.licenser" version "0.5.0"
}
@@ -110,6 +111,11 @@ checkstyle {
toolVersion = '8.39'
}
codenarc {
toolVersion = "2.0.0"
configFile = file("codenarc.groovy")
}
gradlePlugin {
plugins {
fabricLoom {