diff --git a/build.gradle b/build.gradle index cd997332..d4d8e0b4 100644 --- a/build.gradle +++ b/build.gradle @@ -182,9 +182,9 @@ task jsdoc(type: Exec) { ignoreExitValue true } -task shell(type: JavaExec) { - def rhinoJar = configurations.library.files.find { f -> - f.name.startsWith('rhino') +task rhinoShell(type: JavaExec) { + def rhinoJar = configurations.library.files.find { jar -> + jar.name.startsWith('rhino') } classpath = files(rhinoJar)