Gradle integration

Skip to end of metadata
Go to start of metadata

Purpose

The purpose of this page is to show current state of IDEA-Gradle integration while it's in active development. It's intended to be removed when the integration is released.

Table of contents

News

The latest news from the gradle integration development can be found here

Tasks

Status Meaning
Not defined whether this will be implemented
Will not be implemented
Implemented
In progress
Planned but not implemented yet

High-level

Feel free to check details of the mentioned IntelliJ IDEA tickets. They are organised in hierarchical manner, i.e. high-level tickets have sub-tickets.

Status Task Description
Import from Gradle - IDEA-75721 Input: 'build.gradle', output: ready to use IJ project
Sync project changes - IDEA-76142 Show the difference between Gradle and IntelliJ IDEA projects, allow to manage them
Provide convenient view to the gradle functionality Very similar to the gralde GUI plugin
Diagram support Visual representation of dependencies, tasks?
Auto-completion Need to check whether we need highlighting over than for usual groovy files
Highlighting Need to check whether we need highlighting over than for usual groovy files
Detect gradle project structure change and offer to apply the changes to IJ
Provide quick documentation for the gradle DSL/API within IntelliJ IDEA
Sync IJ changes with 'build.gradle' Modify gradle build files within changes made in IJ project/module structure

How-to

How to get the most up-to-date assembled gradle plugin

  1. Login to the public Jetbrains Teamcity - http://teamcity.jetbrains.com
  2. Navigate to the 'Intellij IDEA CE -> Community Dist -> Artifacts':
  3. Download the target distribution and use it. The distributions are re-built every 24 hours;

How to compile IntelliJ IDEA from sources and test the latest Gradle plugin.

  1. Download and install the latest released IntelliJ IDEA Community Edition;
  2. Checkout the latest IntelliJ IDEA sources;
  3. Open that project (named 'community') from the IntelliJ IDEA;
  4. Build the project (make sure to add 'tools.jar' to the classpath of the project jdk;
  5. Start 'IDEA' run configuration;
  6. Check 'gradle' plugin facilities with IntelliJ IDEA built from the sources;

How to work with the latest version of ToolingApi.

This page: http://gradle.org/nightly/ hosts the latest gradle stuff (docs, binaries, sources, distros). It is built overnight and sometimes even more often. Here're the alternative ways of working with latest tooling-api:

  • Download the 'all' distribution from http://gradle.org/nightly.
    • Install downloaded distro
    • Go to the samples/toolingApi/idea
    • run gradle idea
    • Open created *.ipr in Idea
    • Play with the code, browse the interfaces of the ToolingApi
  • Alternative:
Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.