Wednesday, July 29, 2015

No signature of method: build_59tj2ra5d1mn9tk0vrfinvo79c$_run_closure2.id() is applicable for argument types: (java.lang.String) values: [org.asciidoctor.convert]

You might encounter the following exception:

FAILURE: Build failed with an exception.

* Where:
Build file '/home/izeye/applications/test/build.gradle' line: 9

* What went wrong:
A problem occurred evaluating root project 'test'.
> No signature of method: build_59tj2ra5d1mn9tk0vrfinvo79c$_run_closure2.id() is applicable for argument types: (java.lang.String) values: [org.asciidoctor.convert]
  Possible solutions: is(java.lang.Object), is(java.lang.Object), find(), find(), find(groovy.lang.Closure), find(groovy.lang.Closure)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Gradle version was 1.12.

Just upgrading to 2.5 fixed the problem.

No comments:

Post a Comment