Skip to content

Commit 2b94a37

Browse files
authored
Fix build.gradle to avoid execution error on JDK8 / 11
Running `./gradlew gem` on JDK 8 / 11 raises the error "No signature of method: org.gradle.api.internal.tasks.DefaultTaskDependency$TaskDependencySet.getAt()". This maybe is due to API changes, this commit fixes the problem
1 parent 639be9f commit 2b94a37

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)