Skip to content

Commit 1aca432

Browse files
committed
Address some minor codenarc violations in the base plugin
1 parent 33dc532 commit 1aca432

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

base-plugin/src/main/groovy/com/github/jrubygradle/JRubyPlugin.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class JRubyPlugin implements Plugin<Project> {
4646
group TASK_GROUP_NAME
4747
description 'Prepare the gems/jars from the `gem` dependencies, extracts the gems into jruby.installGemDir and sets up the jars in jruby.installGemDir/jars'
4848
dependencies project.configurations.gems
49-
outputDir {project.jruby.gemInstallDir}
49+
outputDir { project.jruby.gemInstallDir }
5050
}
5151

5252
project.task('generateGradleRb', type: GenerateGradleRb) {

base-plugin/src/main/groovy/com/github/jrubygradle/internal/JRubyExecUtils.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class JRubyExecUtils {
124124

125125
cmdArgs.addAll(jrubyArgs)
126126

127-
if (useBinPath && script !=null) {
127+
if (useBinPath && script != null) {
128128
if (script.isAbsolute() && (!script.exists())) {
129129
throw new InvalidUserDataException("${script} does not exist")
130130
}

0 commit comments

Comments
 (0)