Questions tagged [buildship]

Buildship is a collection of Eclipse plug-ins that provide support for building software using Gradle.

Buildship is a collection of Eclipse plug-ins that provide support for building software using Gradle.

Buildship aims to provide a deep integration of Gradle into Eclipse. Buildship also aims to make the Eclipse IDE more powerful by allowing the user to do more from within the IDE.

See https://projects.eclipse.org/projects/tools.buildship and https://gradle.org/eclipse/

121 questions
3
votes
2 answers

Eclipse hangs on adding Gradle nature

Running Eclipse 2019-06, with Buildship 3.1.2. Created a project from existing folder, and when adding gradle nature, Eclipse does some work and then gets stuck on "Importing root project: Run build". Already removed and reinstalled Gradle, removed…
Gregory Golberg
  • 363
  • 5
  • 15
3
votes
0 answers

Buildship Java launch configuration missing JARs when specific version of Glassfish JAXB referenced

Background I'm migrating a large project to OpenJDK 11.0.2 from 8. As such I need to include JAXB implementation. Problem I've observed that applications launched from within Eclipse 2019-03 (4.11.0) using Buildship (3.0.1.v20181217-1554) don't…
Adam
  • 35,919
  • 9
  • 100
  • 137
3
votes
1 answer

Eclipse Gradle adding a classpath entry

I'm adding a classpath entry to the .classpath file in Eclipse to avoid having to add it manually each time I run the .eclipse task while I add a number of dependencies. I need some resources on the path to run locally. this…
Neill
  • 556
  • 2
  • 8
  • 18
3
votes
1 answer

How to pass parameters to gradle in eclipse Buildship plugin while importing project

I'm importing a gradle project requiring parameters into eclipse neon using the buildship gradle plugin. Here is a fragment of the build.gradle with parameters: repositories { maven { url repoUrl credentials { …
Taras
  • 1,023
  • 8
  • 17
3
votes
1 answer

Trigger Gradle Task after import Eclipse Project

We ported our custom Gradle setup (GWT, builder configuration etc.) for Eclipse from the STS Gradle Plugin to the Buildship Plugin. We use special self-developed tasks which are performed automatically after an import of a Gradle project through the…
Ditscheridou
  • 381
  • 1
  • 5
  • 18
2
votes
1 answer

How to reliably set up post-compilation bytecode enhancement builder in Eclipse?

I need to set up an Eclipse project with an additional builder that enhances the Java bytecode produced by an earlier builder (ideally Eclipse's own). I managed to get this builder to run and enhance the Eclipse Java builder output properly but…
2
votes
1 answer

Springboot Gradle Plugin not working with Eclipse

THE problem My java project doesn't run in Eclipse when I use this springboot plugin springboot-gradle-plugin It throws this exception Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug'…
aee
  • 543
  • 3
  • 14
2
votes
0 answers

Eclipse : How to set env variables for Gradle run

I am using the buildship plugin to build gradle projects. I need to use some env variables in my build script to connect to some external repositories. When i run the gradle build from command line, it works fine as I have the required env…
AbtPst
  • 7,778
  • 17
  • 91
  • 172
2
votes
1 answer

Buildship how to set environment variable on project scope

We switched for our project from ant to gradle. Now the gradle script looks like this [...] def filterFile = System.getProperty('filter.file') [...] All tasks heavily depend on the environment variable filterFile. We use eclipse (Oxygen.2…
HHeckner
  • 4,722
  • 4
  • 23
  • 33
2
votes
0 answers

Generated resources don't show up in eclipse-wtp published jars

I have a project with two sub-projects: a dependency jar and a webapp. I'm using the eclipse-wtp plugin: allprojects { apply plugin: 'java' apply plugin: 'eclipse-wtp' } The dependency generates some resources (for example, by downloading…
MZS
  • 573
  • 4
  • 12
2
votes
0 answers

How can I configure the Buildship plugin to download the Maven API Javadoc in Eclipse?

I am building a gradle plugin in Groovy using Eclipse Neon 3. I have linked the internal dependencies as below, and have generated an Eclipse configuration using the Eclipse gradle plugin. dependencies { compile gradleApi() compile localGroovy()} I…
Jörn Guy Süß
  • 1,408
  • 11
  • 18
2
votes
0 answers

Update Gradle Classpath project doesn't exist

A project was recently deleted from my repository and now eclipse occasionally displays the following error. 'Update Gradle Classpath for main_project' has encountered a problem. Project location doesn't exist: path/to/deleted/project' I've done a…
Chris
  • 354
  • 3
  • 13
2
votes
1 answer

Eclipse Buildship: composite builds without changing settings.gradle

In Eclipse, I have a imported a Gradle project that has a binary (.jar) dependency to a library which is built using a separate Gradle project. I want to be able to make changes to the library in Eclipse and use the changed code immediately. This…
herman
  • 11,740
  • 5
  • 47
  • 58
2
votes
1 answer

Gradle creates broken start scripts. How to fix?

I am trying to learn how to build applications using Gradle; to do this I use the 'Application' plug in. This plug in builds executable scripts that runs my jar file. However the batch file that is generated is showing an error. This is for every…
user4759317
2
votes
2 answers

Gradle cannot find a project in a dependency chain

I have 3 Java projects located next to each other in the folder structure: Proj1, Proj2 and Proj3. Proj1 depends on Proj2 and it depends on Proj3. Here are their settings.gradle files: rootProject.name = 'Proj3' rootProject.name = 'Proj2' include…
Mark
  • 2,167
  • 4
  • 32
  • 64
1
2
3
8 9