Skip to main content
  • Log in
  • Manage Cookies
Eclipse Plugins, Bundles and Products - Eclipse Marketplace
  • My Marketplace
  • Add Content
  • More
      • Community

      • Marketplace
      • Events
      • Planet Eclipse
      • Newsletter
      • Videos
      • Blogs
      • Participate

      • Report a Bug
      • Forums
      • Mailing Lists
      • Wiki
      • IRC
      • Research
      • Eclipse IDE

      • Download
      • Learn More
      • Documentation
      • Getting Started / Support
      • How to Contribute
      • IDE and Tools
      • Newcomer Forum
    • Search

  1. Home
  2. Marketplace
  3. Tools
  4. Buildship Gradle Integration

Please be aware that some listings have been temporarily delisted from our marketplace in order to improve the security of the platform. We apologize for any inconvenience this may caused.

For more information on this matter, please visit #1.

If you are a listing owner and would like to have your listing(s) reinstated, please open a ticket at https://gitlab.eclipse.org/eclipsefdn/it/websites/marketplace.eclipse.org/-/issues.

Thank you for your understanding and cooperation.

Eclipse Foundation Member
Buildship Gradle Integration

Buildship Gradle Integration
1306
7
Install

Drag to Install!

Drag to your running Eclipse* workspace.
*Requires Eclipse Marketplace Client

Add this URL to your Eclipse Installation to reach this solution's update site.

2021-03 (4.19)
2020-12 (4.18)
2020-09 (4.17)
2020-06 (4.16)
2020-03 (4.15)
2019-12 (4.14)
2019-09 (4.13)
2019-06 (4.12)
2019-03 (4.11)
2018-12 (4.10)

https://download.eclipse.org/buildship/updates/e410/releases/3.x

2018-09 (4.9)

https://download.eclipse.org/buildship/updates/e49/releases/3.x

Photon (4.8)

https://download.eclipse.org/buildship/updates/e48/releases/3.x

Oxygen (4.7)

https://download.eclipse.org/buildship/updates/e47/releases/3.x

Neon (4.6)

https://download.eclipse.org/buildship/updates/e46/releases/3.x

Mars (4.5)

https://download.eclipse.org/buildship/updates/e45/releases/3.x

Luna (4.4)

https://download.eclipse.org/buildship/updates/e44/releases/3.x

Kepler (4.3)

https://download.eclipse.org/buildship/updates/e43/releases/3.x

Juno (4.2, 3.8)

https://download.eclipse.org/buildship/updates/e42/releases/2.x

Learn more...

Screenshot 0

Screenshot 1

Screenshot 2

Screenshot 3

Details Group Tabs

Details

Eclipse plug-ins that provide support for building software using Gradle.

This solution is provided by the Eclipse Foundation.

Get Help • Report a Bug • More Information

Project Import

You can import an existing Gradle project through the Eclipse Import Wizard functionality. In distinct steps, the import wizard allows you to specify the location of the Gradle project, configure the various optional, advanced settings, and see a summary of how the project will be imported. The summary page will also warn if you are using a target Gradle version for which Buildship is not able to offer all its functionality.

During the import, the Eclipse projects are created and added to the current workspace. In case of Java projects, the source paths and the classpath container which contains the external dependencies and the project dependencies are configured. The content of the classpath container is refreshed each time the project is opened.

You can stop the import at any time by pressing the Stop button in the Progress View.

Project Creation

You can create a new Gradle project and add it the current workspace with the New Gradle Project wizard. The wizard allows you to specify the project name and location, the working sets, and the target Gradle distribution. To create the project, the wizard executes Gradle's built-in init task with the java-library template.  

Tasks View

In the Gradle Tasks View, you can see the tasks of all the imported Gradle projects. The tasks can be sorted, filtered, and executed. The selection in Eclipse can be linked to the selection of the tasks view, both ways. The content of the tasks view can be refreshed, meaning the latest versions of the Gradle build files are loaded. You can navigate from a project to its build file through the context menu.

Task Execution

You can run Gradle tasks from the Tasks View through double-clicking, right-clicking, or via keyboard. In case multiple tasks are selected, they are passed to Gradle in the order they were selected. Each time a Gradle build is executed with a different set of tasks, a new Gradle run configuration is created. You can edit existing run configurations and create new run configurations through the Run Configurations dialog. All settings can be configured in the run configurations dialog.

Whenever a Gradle build is executed, a new Gradle console is opened that contains the output from the build. You can cancel the execution of the build by pressing the Stop button in the Gradle console. The Gradle consoles can be closed individually or all at once.

Executions View

Whenever a Gradle build is executed, a new Execution page is opened in the Executions View that displays the progress of running the build. You can see the different life-cycle phases of the build, the tasks and tests being run, and the success of each operation.

You can switch between the execution pages and you can jump to the corresponding Gradle console. You can also rerun a finished build. You can cancel the execution of the build by pressing the Stop button in the execution page. The execution pages can be closed individually or all at once.

This is available if the Gradle build is run with target Gradle version 2.5 or newer.

Test Execution

You can run tests from the Execution page through right-clicking on a node that represents a test class or test method. A new Gradle build is executed and the selected tests are run by Gradle. If the test task to which the tests belongs has setup and cleanup tasks configured, those are run accordingly. Once the build has finished and there are test failures, you can rerun all failed tests by pressing the Rerun Failed Tests button in the execution page.

This is available if the Gradle build is run with target Gradle version 2.6 or newer.

Basic Web Project Support

If you import a web project and your Eclipse contains the Web Tools Platform plugin then Buildship will automatically generate the WTP configuration files. The generated files will respect all customizations that are defined in the eclipse-wtp Gradle plugin.

Build scans

You can enable build scans from the preferences for the entire workspace or for projects individually. If enabled and the project applies the com.gradle.build-scan plugin then a build scan is published after each build automatically. You can open the published build scans by clicking on the URL in the console view or by clicking on the 'Open build scan' button on the Execution view's toolbar.

Hierarchical preferences

There are three hierarchical levels of configuration in Buildship. You can define default workspace settings for the project import, the build scans capturing, and for the offline mode. You can override those workspace settings in the project configuration settings. Finally, you can override the project configuration settings on any run configuration.

Cancellation

You can cancel all long-running operations like importing a project, executing tasks, refreshing the tasks, etc.

This is available if the Gradle build is run with target Gradle version 2.1 or newer.

Offline mode

Just like the build scans, you can enable the offline mode from the workspace or from the project preferences. If enabled, the project synchronization and the build execution won't try to connect to the internet so that you can continue working without continuous connectivity. 

Composite build support

Gradle 3.1 introduced the concept of composite builds. To quote the release notes, "they allow you to integrate independent Gradle builds, effectively giving you something like a multi-project build while keeping the builds separate". For more details, check out the Gradle User Guide.

Staring from version 2.0, Buildship can seamlessly import composite builds into Eclipse.

Imported composite builds have a few special traits:

  • All included builds are synchronized together.
  • Binary dependencies between included builds are replaced with Eclipse project dependencies. Also, the included build dependency substitution rules declared in the settings.gradle file are respected.

Current limitations:

  • Executing tasks in included builds is currently not supported. It will be enabled once the task addressing will be implemented in Gradle.
  • WTP support is not working with included builds.
  • The Executions view will not show events from included builds.
Categories:
  • Build and Deploy,
  • Tools
Tags:
  • fileExtension_gradle
Additional Details
Eclipse Versions: 
2021-03 (4.19), 2020-12 (4.18), 2020-09 (4.17), 2020-06 (4.16), 2020-03 (4.15), 2019-12 (4.14), 2019-09 (4.13), 2019-06 (4.12), 2019-03 (4.11), 2018-12 (4.10), 2018-09 (4.9), Photon (4.8), Oxygen (4.7), Neon (4.6), Mars (4.5), Luna (4.4), Kepler (4.3), Juno (4.2, 3.8)
Platform Support: 
Windows, Mac, Linux/GTK
Organization Name: 
Eclipse Buildship Project
Development Status: 
Production/Stable
Date Created: 
Thu, 2015-04-23 16:39
License: 
EPL
Date Updated: 
Mon, 2022-12-12 07:27
Submitted by: 
Etienne Studer
Screenshots
Screenshot 0
Screenshot 1
Screenshot 2
Screenshot 3
Metrics
DateRankingInstallsClickthroughs
January 202377/672595 (0.19%)14
December 202278/805603 (0.18%)28
November 202281/808717 (0.18%)17
October 202286/811652 (0.17%)22
September 202275/812810 (0.2%)13
August 202263/808898 (0.25%)20
July 202273/816825 (0.23%)31
June 202275/810827 (0.21%)17
May 202272/810960 (0.22%)38
April 202266/8171001 (0.24%)29
March 202265/8201202 (0.25%)35
February 202262/819999 (0.26%)20
View Data for all Listings
Errors

Unsuccessful Installs in the last 7 Days: 0

Download last 500 errors (CSV)
External Install Button

Marketplace Drag to Install button

By adding the following code below to your website you will be able to add an install button for Buildship Gradle Integration.

HTML Code:


Markdown Syntax:



Output: Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client
Monday, January 30, 2023 - 02:25

Reviews Sign in to post reviews

Coming back with details on what I said earlier

The Import was failing because even though the exact same project was building with the exact same gradle version outside of Eclipse/Buildship, it was failing during Import because Import doesn't call Gradle from within the root project folder. I made my script more robust by not requiring this, but I don't think I should have.

Doesn't work

Perfectly good project building with gradle 4.10.2, recent Eclipse (Oxygen) and Import with "Specific gradle version = 4.10.2" fails with error "Could not fetch model of type "GradleBuild'" even though the binary is there and I just wget it.

mkeuchen's picture

Error on updates

Submitted by Michael Keuchen on Mon, 2016-09-12 13:46

After installing "Buildship Gradle Integration", when trying to update Eclipse, I got the following error messages:
- "JDT Core patch for Groovy-Eclipse plugin on Eclipse 4.5" is not applicable to the current configuration and will not be installed.
- An internal error occurred during: "Searching alternate solutions...": org.codehaus.groovy.eclipse 2.9.2.xx-201608111527-e45 is unknown in the solver!

This is strange because
(a) I'm running Eclipse 4.6 Neon; why does it want to install a patch for Eclipse 4.5?
(b) The "buildship gradle" plugin does not have any requirements named; why is it then searching for groovy-eclipse?

I 'fixed' this by installing the "groovy-eclipse" plugin for Eclipse 4.6 Neon. Unfortunately, there is no groovy-eclipse plugin for Neon available on the marketplace. To install it nonetheless, do this:
- add a software site: "groovy-eclipse for eclipse 4.6"=dist.springsource.org/snapshot/GRECLIPSE/e4.6/ (for eclipse 4.5 mars, use dist.springsource.org/snapshot/GRECLIPSE/e4.5/)
- from the software site, install at least "Groovy-Eclipse Feature" and "JDT Core patch for Grooy-Eclipse plugin on Eclipse 4.6"
(See https://marketplace.eclipse.org/comment/3749#comment-3749)

My current status:
- No error messages on Eclipse updates
- Instead, on updates, eclipse wants to update "JDT Core patch for Grooy-Eclipse plugin on Eclipse 4.6" to version "2.9.2-xx-201608111517-e46". But that version is already installed.

estuder's picture

Please post your question in

Submitted by Etienne Studer on Tue, 2016-09-13 03:25

Please post your question in the Buildship forum:
https://discuss.gradle.org/c/help-discuss/buildship

lmanius's picture

Needs a "Configure->Convert to Gradle Project" option

Submitted by Lou H. on Sun, 2016-07-24 05:44

Needs a "Configure->Convert to Gradle Project" option like most similar plugins have. If you want to convert a pre existing Eclipse project to a Gradle project, or check out from an SVN/Git repo and your client doesn't let you use the new project wizard for a Gradle import, it seems like you're kinda hosed...

estuder's picture

Please post your feature

Submitted by Etienne Studer on Tue, 2016-09-13 03:29

Please post your feature request in Bugzilla:
https://bugs.eclipse.org/bugs/buglist.cgi?product=Buildship

jsantos7nw's picture

Stable

Submitted by Jadson Santos on Fri, 2015-12-04 07:23

Stable plugin, need just more funcionalities. Please, came soon new versions.

Markets

  • Eclipse Project (4)
  • Tools (1342)
    • Application Development Frameworks (171)
    • Application Management (32)
    • Application Server (31)
    • BIRT (10)
    • Build and Deploy (104)
    • Business Intelligence, Reporting and Charting (14)
    • Code Management (117)
    • Collaboration (37)
    • Database (44)
    • Database Development (34)
    • Database Persistence (17)
    • Documentation (60)
    • Eclipse Kura (122)
    • Eclipse SmartHome (46)
    • EclipseRT Target Platform Components (10)
    • Editor (339)
    • Entertainment (14)
    • General Purpose Tools (124)
    • Graphics (34)
    • IDE (344)
    • Internet of Things (IoT) (35)
    • J2EE Development Platform (44)
    • J2ME (5)
    • Languages (155)
    • Linux Tools (19)
    • Logging (22)
    • Mobile and Device Development (49)
    • Modeling (90)
    • Modeling Tools (146)
    • Mylyn Connectors (20)
    • Network (14)
    • Other (74)
    • Process (18)
    • Profiling (22)
    • Programming Languages (100)
    • Reporting (32)
    • Rich Client Applications (39)
    • Science (4)
    • SCM (20)
    • Search (42)
    • SOA Development (15)
    • Source Code Analyzer (99)
    • Systems Development (59)
    • Team Development (54)
    • Testing (90)
    • Tools (568)
    • UI (97)
    • UML (40)
    • Web (90)
    • Web Services (31)
    • Web, XML, Java EE and OSGi Enterprise Development (32)
    • XML (29)
  • IoT (172)
    • Eclipse Kura (122)
    • Eclipse SmartHome (46)
  • RCP Applications (79)
  • Training & Consulting (53)
  • Long Term Support (11)

Search

Advanced Search

More like this

  • EGradle IDE
  • Gradle IDE Pack
  • EGradle Editor
  • Red Hat CodeReady Studio (formerly Developer Studio)
  • JBoss Tools

Favorited by

Eclipse Foundation

  • About Us
  • Contact Us
  • Sponsor
  • Members
  • Governance
  • Code of Conduct
  • Logo and Artwork
  • Board of Directors
  • Careers

Legal

  • Publishing Guidelines
  • Privacy Policy
  • Terms of Use
  • Copyright Agent
  • Eclipse Public License
  • Legal Resources

Useful Links

  • Welcome to Marketplace
  • Report a Bug
  • Documentation
  • How to Contribute
  • Mailing Lists
  • Forums
  • Marketplace

Other

  • IDE and Tools
  • Projects
  • Working Groups
  • Research@Eclipse
  • Report a Vulnerability
  • Service Status

Copyright © Eclipse Foundation. All Rights Reserved.

Back to the top