Fix codenarc

This commit is contained in:
Schalk W. Cronjé 2022-05-16 19:15:29 +02:00
parent 9161a4354d
commit c9d94bc3ce
1 changed files with 2 additions and 2 deletions

View File

@ -193,7 +193,7 @@ class GemUtils {
classpath jRubyClasspath
args '-S', GEM, 'install'
/*
/*
* NOTE: gemsToProcess is assumed to typically be sourced from
* a FileCollection generated elsewhere in the code. The
* FileCollection a flattened version of the dependency tree.
@ -471,7 +471,7 @@ class GemUtils {
@CompileDynamic
private void setMainClass(JavaExecSpec spec, String mainClassName) {
if(LegacyLevel.PRE_7_0) {
if (LegacyLevel.PRE_7_0) {
spec.main = mainClassName
} else {
spec.mainClass = mainClassName