Gradle idea build fails with an error

After executing the command i got the message below :


D:\test_gradle\gradle-2.13>gradle idea
:buildSrc:clean
:buildSrc:compileJava UP-TO-DATE
:buildSrc:compileGroovy
D:\test_gradle\gradle-2.13\buildSrc\src\main\groovy\org\gradle\build\docs\dsl\docbook\ClassDocSuperTypeBuilder.java:50: error: cannot find symbol
classDoc.getInterfaces().add(superInterface);
^
symbol: method getInterfaces()
location: variable classDoc of type ClassDoc
1 error
startup failed:
Compilation failed; see the compiler error output for details.

1 error

:buildSrc:compileGroovy FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:compileGroovy’.

Compilation failed; see the compiler error output for details.

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

BUILD FAILED

Total time: 34.179 secs


When i check the code, it is true that the ClassDoc does not have getInterfaces method really ? Any body may help to find what i am missing.