Project import functionality to import a Gradle project into Eclipse
Unify the Build Across the DevOps Lifecycle
Gradle brings coherence to your project by serving as the build authority.
- Get consistent results regardless of whether you’re building from the command line, IDE or CI server.
- Move with ease between the IDE and command line.
- Use the Gradle Wrapper to effortlessly spin up new environments with a custom Gradle distribution or sync the version of Gradle across developers teams.
- Push your IDE to new limits with abilities like context switching between multiple versions of the same project.
Rock out in the IDE
Using an IDE to its full capacity is crucial for maximizing developer productivity. Gradle helps developers get dialed in quickly.
When importing the project into an IDE such as IntelliJ IDEA or Eclipse, Gradle relieves you of many manual steps by feeding the IDE with the vital information it needs to locate source folders, dependencies and outputs of the active variant.
Whenever the build changes, Gradle keeps the IDE in sync to ensure the developer’s productivity remains uninterrupted.
With integrated support for Gradle, IDEs become the developer’s main interface to the build, providing views for tasks, subproject structure and variants, as well as launch configurations for running and debugging the application, tests and embedded servers.
IntelliJ IDEA knows Gradle
Build tools build.
IDEs help developers write better code, faster.
By delegating to Gradle, IntelliJ IDEA boasts a world class build system. Gradle does what it does best so the IDE can focus on assisting the developer.
Gradle, the IDE’s builder
Recognizes and imports single- and multi-module Gradle projects. Automatically detects the Gradle Wrapper and uses it to execute all build tasks. Uses the Gradle Daemon to keep builds fast and tightly integrated with the command line.
Gradle console window
Shows the build tasks and subtasks that are executed when the build runs. When the build fails, you can find more details in this window, including interactive stacktraces.
Additional features include:
- Review test results in the native test runner window
- Filter build messages by severity (warning, info, etc.)
- Code assist for the build language, dependencies and plugins in the build specification
- Configure facets (e.g., web) and artifacts (e.g., war) automatically based on Gradle files
Buildship: official Gradle support for Eclipse
Developed by the creators of Gradle, Buildship is a set of plugins to integrate your Gradle build into Eclipse. Buildship makes Eclipse more powerful by providing a very deep integration of Gradle into the IDE, allowing you to do more right from within the IDE.
- Gradle Inc. is a member of the Eclipse Foundation.
- Buildship is a part of the Eclipse core distribution.
More Gradle goodness in Android Studio
The Gradle support in IntelliJ IDEA is amplified in Android Studio with the addition of key Android-specific enhancements, such as a consolidated view of Gradle scripts.
- Seamless integration with Android Studio via the Android Gradle plugin
- New project wizard for creating a Gradle-based project
- The Android Project View shows a consolidated layout of your project to provide quick access to key source files, including Gradle build files
- Auto-generated test infrastructure for each application module
- Automatic configuration of build variants and multiple APK file generation
- ProGuard and app-signing capabilities
From continuous integration to delivery
When paired with a continuous integration (CI) tool, Gradle can meet all your continuous delivery needs.
- Get feedback sooner thanks to CI job caching and Gradle’s incremental build capabilities.
- Activate Gradle’s numerous reports to inspect build results, troubleshoot problems and monitor build performance.
- Use Gradle’s publishing tasks to turn the CI server into a publishing tool and release manager.
- Push artifacts to a binary repository, documentation to a web server or your app to a staging or production environment.