Gradle IDEA configuration

gradle, intellij-idea

Solution

Please apply the IDEA plugin first:

`apply plugin: 'idea'`

Problem

I read here that I can tweak certain settings using these parameters: ``` idea { module { downloadJavadoc = false downloadSources = true } } ``` However I get an error when I am trying to build: ``` Could not find method idea() for arguments ```

Original source