How can I download sources with gradle?

Greetings!

Guys, here is a problem: I have a gradle repository configured and it works ok. But now I decided to update dependencies after they were modified. I have done this by adding changin = true in my build script: dependencies { compile (…) {changin = true} }

This helps, but the sources now are not downloaded and the source folder located near jar folder is empty. Whats wrong?

Gradle will only download source jars when you ask for them. At the moment, the only way to ask for them is to use either the idea or eclipse plugin to build the IDE project files.

Of course, we want to fix that. See GRADLE-201