This is fantastic.
On 12/03/10 5:40 AM, Mike wrote:
I just posted the Gradle Plugin for Idea. It requires Idea 9
(Community or Ultimate Edition) and Gradle 0.9 (a very current one –
basically from March 10th 2010). It also requires the JetGroovy Plugin
to be enabled (this comes with Idea).
It should be showing up within Idea's “Available” plugins soon, but I
think its in a holding pattern waiting on 'moderation'. You can
manually download it from
http://plugins.intellij.net/plugin/?idea&id=4667
<http://plugins.intellij.net/plugin/?idea&id=4667>, then place it in
your user plugins directory (see below). There is somewhat more
information at http://wiki.github.com/gradle/intellij-plugin/.
Its the same UI as when you run gradle --gui, except it shows the
output in a separate horizontal pane and file links with its output
will open within Idea (except HTML which will open in your current
browser). This is also a Project-based plugin meaning it only shows up
when projects are open and stores its settings within each Idea project.
Once you've installed it, you'll need to set your gradle home in Idea.
Do this by going to File/Settings and selecting Gradle in the Project
Settings along the left. Here, point it to the root directory of a
gradle distribution (remember: a very current 0.9 version only).
Unfortunately, now you have to restart Idea, but when it comes back
up, you should have the Gradle UI.
The source is located at http://github.com/gradle/intellij-plugin
Manual installation: where to copy the plugin jar to:
- Windows XP: C:\Documents and Settings\[user]\.IdeaIC90\config\plugins
- OS X: ~/Library/Application Support/IdeaIC90
- Linux: /home/[user]/.IdeaIC90/config/plugins
Note: substitue IdeaIC90 with IntelliJIdea90 if you're using the
Ultimate Edition of Idea.
Mike
Automated Logic Research Team
--
Adam Murdoch
Gradle Developer
http://www.gradle.org