Daniil Shevelev
Daniil Shevelev

Reputation: 12027

Gradle IDEA configuration

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

Upvotes: 8

Views: 2538

Answers (1)

Ori Dar
Ori Dar

Reputation: 19000

Please apply the IDEA plugin first:

apply plugin: 'idea'

Upvotes: 21

Related Questions