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
38
votes
7 answers

How to fix "Missing Gradle project configuration file" issue in Buildship?

As an Eclipse user, I always liked the Gradle IDE. However, this plugin is now deprecated in favor of the new Buildship plugin. After setting up a fresh Eclipse IDE with Buildship installed, I'm faced with the following error in all my Gradle…
Martin Häusler
  • 6,544
  • 8
  • 39
  • 66
19
votes
2 answers

How to allow / workaround nested composite Gradle builds

I'm running into the same issue as reported here: I have a Java project A which depends on project B (module), and project B dependes on project C (another module). For project A I would like to setup "includeBuild ../projectB" and for project…
James
  • 2,876
  • 18
  • 72
  • 116
16
votes
5 answers

"Could not run phased build action using connection to Gradle distribution"

I'm having various Gradle problems after a new clean Eclipse install. They seem to be associated w/ this "Problem" message: Could not run phased build action using connection to Gradle distribution…
JDOaktown
  • 4,262
  • 7
  • 37
  • 52
10
votes
2 answers

How to specify "sources" JAR for local JAR dependency?

I have a *.jar file in my Gradle / Buildship project that resides in a lib folder. I include it in my build.gradle via: compile files('libs/local-lib.jar') I also have a correspondinglocal-lib-sources.jar file that I would like to attach to it. In…
Martin Häusler
  • 6,544
  • 8
  • 39
  • 66
8
votes
2 answers

How to limit BuildShip (gradle eclipse) integrated functionality?

Now that I am using gradle for all of my new development, I'm running into issues with BuildShip features I really don't want. For instance, when I hit the Run hotkey when I have a unit test open in Eclipse, I only want it to run as a JUnit test,…
Alice Young
  • 1,742
  • 2
  • 11
  • 19
6
votes
3 answers

How to change Gradle version in Eclipse using Buildship?

I am running Eclipse Luna SR2 with Buildship 1.0.1. The Gradle projects I create using the wizard are building with Gradle 2.5-rc-2, but I would like to use 2.6 which is the latest version. How can I do it? Setting the task had no effect: apply…
Evandro Pomatti
  • 13,341
  • 16
  • 97
  • 165
5
votes
0 answers

How is the value of connection.project.dir being determined?

In org.eclipse.buildship.core.prefs (in the .settings folder) how is the value of the key connection.project.dir determined and how can I control what project buildship writes there? I looked at this…
coconut
  • 494
  • 2
  • 5
  • 13
5
votes
1 answer

Access restriction on JavaFX classes in Eclipse Oxygen

I'm using Eclipse Oxygen 4.7.0 in Ubuntu 17.04 with Oracle JDK 8u144. Any code that refers to JavaFX classes in packages javafx.*, e.g. javafx.application.Application is (incorrectly) reported as an error Access restriction: The type 'ScrollPane'…
Adam
  • 35,919
  • 9
  • 100
  • 137
5
votes
1 answer

How to use buildship for android?

I have a dummy project, which I succeed to compile through buildship plugin in eclipse IDE. This is my local.properties file: sdk.dir=C:/Asta/altro/adt-bundle/sdk This is settings.gradle file rootProject.name = 'testgradle' This is my build.gradle…
Zanna
  • 676
  • 9
  • 13
4
votes
2 answers

Buildship keeps overwriting .classpath

I'm using Gradle and Eclipse with the Buildship plugin. Buildship creates the .classpath file for Eclipse to use. I need one classpath entry (com.gwtplugins.gwt.eclipse.core.GWT_CONTAINER) to appear after the…
Bob
  • 5,510
  • 9
  • 48
  • 80
4
votes
1 answer

Configure Eclipse to use the latest version of Gradle

I'm reacquainting myself with Gradle. One of the problems I remember finding when I last looked, using 2.x I think, was multiple versions not only of project implementation jars but also multiple versions of Gradle's own jars. In an attempt to keep…
mike rodent
  • 14,126
  • 11
  • 103
  • 157
4
votes
2 answers

How to to tell Eclipse/Buildship/Gradle to add dependencies to the Modulepath

I am trying to use Eclipse, Buildship, Gradle to develop java 9 applications. Eclipse: Oxygen Buildship: 2.2.0 Gradle: 4.3.1 I am looking for a way to tell Buildship/Gradle to add Project and External Dependencies to the Modulepath rather than the…
4
votes
0 answers

Workaround for buildship composite build and eclipse-wtp

I have a root project(web-app) with 2 included builds(core and models) in my eclipse workspace and I want to start the web-app in eclipse-tomcat. settings.gradle of web-app: rootProject.name = 'web-app' includeBuild '../core' includeBuild …
soilworker
  • 1,317
  • 1
  • 15
  • 32
3
votes
1 answer

Why is the source folder in the lib folder in eclipse gradle project?

When trying to create a gradle project in eclipse, the source folder, build.gradle and others are stored in a different folder called lib as a separate project. How can I make all the folders be within the project folder like in a normal java…
3
votes
0 answers

Gradle Build Failure: Could not open cp_init remapped class cache

Whenever i try to open Spring Tool Suite 4 i keep getting this error Could not open cp_init remapped class cache for 6a5krabdzij62jglcll542e66…
1
2 3
8 9