Skip to content

Commit 57da6af

Browse files
authored
Fix build.gradle to avoid gem creation error on JDK8 / 11
Running ./gradlew gem raised an error relating to the use of `dependsOn` that can't find the correct `getAt` method for a list argument
2 parents 639be9f + 2b94a37 commit 57da6af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ tasks.register("removeObsoleteJars") {
9898
}
9999

100100
tasks.register("gem"){
101-
dependsOn [downloadAndInstallJRuby, removeObsoleteJars, vendor, generateRubySupportFiles]
101+
dependsOn = [downloadAndInstallJRuby, removeObsoleteJars, vendor, generateRubySupportFiles]
102102
doLast {
103103
buildGem(projectDir, buildDir, pluginInfo.pluginFullName() + ".gemspec")
104104
}
105-
}
105+
}

0 commit comments

Comments
 (0)