On Oct 25, 2009, at 5:21 PM, Hans Dockter wrote:
Hi Leonard,
On Oct 25, 2009, at 12:36 PM, Leonard Axelsson wrote:
Right now there is no better way. We should be soon able to provide Intellij
tasks for generating the iml/ipr files from Gradle. The next step, as you
pointed out, would be that the IntelliJ Gradle plugin automatically creates it
from the build.gradle.
I look forward to better support and I guess the need for it has become more
apparent now with the open sourcing of IntelliJ IDEA.
Also if the "download and put in ./lib"-solution is the way to go I'd
appreciate any pointers about how to do it. Maybe there's an example showing
something like that done?
task ide << {
def libDir = file('lib') // A file object with a path <projectDir>/lib
ant.delete(dir: libDir)
copy {
from configurations.testRuntime
into libDir
}
}
- Hans
Thanks Hans, that worked perfectly!
--
Hans Dockter
Gradle Project Manager
http://www.gradle.org<http://www.gradle.org/>
/Leo
QBRANCH: CODE
http://code.qbranch.se<http://code.qbranch.se/>