// Copyright (C) 2024 Gradle, Inc.
//
// Licensed under the Creative Commons Attribution-Noncommercial-ShareAlike 4.0 International License.;
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      https://creativecommons.org/licenses/by-nc-sa/4.0/
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

[[gradle_ides]]
= Gradle in IDEs

Many IDEs support Gradle including Android Studio, IntelliJ IDEA, Visual Studio Code, Eclipse, and NetBeans.

== IntelliJ IDEA

IntelliJ IDEA supports a fully-functional integration with Gradle that helps you automate your building process.

image::intellij_idea.png[]

You can easily create a new Gradle project, open and sync an existing one, work with several linked projects simultaneously, and manage them.

You can find documentation link:https://www.jetbrains.com/help/idea/gradle.html[here].

== Android Studio

Android Studio is the official IDE for Android app development, based on IntelliJ IDEA.

Android Studio uses Gradle to automate and manage the build process while letting you define flexible, custom build configurations.

image::android_studio.png[]

You can find documentation link:https://developer.android.com/build[here].

== Visual Studio Code

VS Code supports Gradle Java projects (not including Android) via the link:https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-gradle[Gradle for Java extension].

image::visual_studio_code.png[]

The extension provides a visual interface for your Gradle build.
You can use this interface to view Gradle Tasks and Project dependencies, or run Gradle Tasks as VS Code Tasks. The extension also offers a better Gradle build file authoring experience including syntax highlighting, error reporting, and auto-completion.

You can find documentation link:https://code.visualstudio.com/docs/java/java-build[here].

== Eclipse

The Eclipse IDE caters to the Java developer, and features Java tooling, a Git client, XML Editor, and Gradle integration.

image::eclipse.png[]

link:https://marketplace.eclipse.org/content/buildship-gradle-integration[Buildship] is a set of Eclipse Plug-ins that provide a deep integration of Gradle into the Eclipse IDE.

You can find documentation link:https://projects.eclipse.org/projects/tools.buildship[here].

== NetBeans

The Apache Software Foundation maintains NetBeans, an open-source IDE for Java, PHP, JavaScript and other languages.

image::netbeans.png[]

You can find documentation link:https://cwiki.apache.org/confluence/display/BEAM/Gradle+Tips[here].
