8

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 
2
  • 2
    Did you apply idea plugin? apply plugin: 'idea' Commented Jan 29, 2014 at 15:51
  • No, I did not. I will accept this as a solution, if you post it. Commented Jan 29, 2014 at 16:34

1 Answer 1

21

Please apply the IDEA plugin first:

apply plugin: 'idea'

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.