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
1
vote
0 answers

Detect Eclipse Buildship

Eclipse buildship doesn't like this configuration line: eclipse { pathVariables 'M2_REPO': new File(repositories.MavenLocal.url) } which causes the gradle-eclipse plugin to produce better .classpath files (using the M2_REPO variable, rather than…
Erich Schubert
  • 8,575
  • 2
  • 26
  • 42
1
vote
0 answers

Gradle merging multiple web projects for eclipse workspace by Buildship

I am in the middle of migrating existing legacy project to Gradle. It has several web projects to merge into a final WAR file. in the build.gradle file of the integrated web project: configurations { webProj1 webProj2 } sourceSets { …
Seng Zhe
  • 613
  • 1
  • 11
  • 21
1
vote
0 answers

Gradle Task Groups not visible in Gluon Project

When I create a new Gluon Project with the Eclipse Gluon Plugin(2.3.0), the Gradle Tasks View (Buildship) only shows the group 'other', where all tasks get listed. Calling gradle tasks on the command line, shows all groups as expected, as well as…
jns
  • 6,017
  • 2
  • 23
  • 28
1
vote
0 answers

Buildship and Eclipse project dependencies

We are using eclipse and a buildserver activly. We switched to gradle on the buildsystem first. Therefore we wrote for each eclipse project a gradle file. Using a artefact repository to which it is published, everything worked fine. Now we are…
user1587852
  • 1,567
  • 2
  • 11
  • 15
1
vote
2 answers

Gradle Project Dependencies in Eclipse with Buildship

I use Eclipse Mars.2 (4.5.2) with Buildship 1.0.14. Gradle version is 2.12. I import my gradle project into the Eclipse. No .project or .classpath files exist before import. All modules imported successfully. But almost every project with java code…
dds
  • 2,335
  • 1
  • 31
  • 45
1
vote
2 answers

Use global gradle install with Buildship

I want to create a Gradle project in Eclipse using Buildship. When I create it, the IDE tries to download Gradle 2.9 from somewhere. But I have a system-wide install of Gradle 2.12 (installed by pacman). How can I convince Buildship to use my local…
marmistrz
  • 5,974
  • 10
  • 42
  • 94
1
vote
1 answer

Gradle - How to download buildship outside eclipse

I am trying to install the buildship plugin into Eclipse. As the Eclipse is installed in client's virtual box and has some limitations, the tool is not able to connect to Internet to install the buildship plugin. Even after configuring the proxy…
Anand
  • 727
  • 3
  • 14
  • 39
1
vote
0 answers

Customization options for Buildship for Eclipse

We are currently using Spring STS Gradle for Eclipse and it works great. But since there is a new plugin coming from Gradle team I wanted to try it out. STS Gradle integration executes Gradle tasks, it's not using Gradle tooling API. This is really…
Maciej Miklas
  • 3,305
  • 4
  • 27
  • 52
0
votes
0 answers

Buildship doesn't import dependency declared by plugin

After I import the project (Import -> Existing Gradle Project) or refresh the project (Gradle -> Refresh Gradle Project) the list of dependencies shown in Java Build Path -> Libraries -> Project and External Dependencies does not contain the…
0
votes
0 answers

"A resource exists with a different case" exception when synchronizing Gradle project with Eclipse

When importing Gradle project to eclipse using Eclipse's native buildship plugin the import fails with the following…
Kirill D
  • 1
  • 1
0
votes
0 answers

Buildship creates unwanted Eclipse lib subproject

When I create a Gradle project in Eclipse via the Buildship plugin I end up with two projects: one of them is called "lib". There is apparently no option to prevent this or even to rename the lib project to anything more meaningful. A bug has been…
xtian
  • 2,908
  • 2
  • 30
  • 43
0
votes
0 answers

Avoid duplication in settings.gradle files

I have at least 8 settings.gradle files in the root project directories of a large project, all of them with the piece of code below, which is becoming annoying: pluginManagement { repositories { gradlePluginPortal() } …
Marcos
  • 1,237
  • 1
  • 15
  • 31
0
votes
0 answers

Eclipse creates wrong jar with test contents of referenced library-project

In my set-up I have 2 projects sitting in the same workspace app and common. common is using a java-library plugin and is included into the app as the project-dependency: implementation project( ':common' ) (also set up in settings.gradle). The…
injecteer
  • 20,038
  • 4
  • 45
  • 89
0
votes
1 answer

Eclipse buildship not configuring classpath from gradle - worked and then broke

I have a gradle based eclipse workspace which has a parent project and multiple child projects. Eclipse suddenly has problems adding a project to the classpath of another though it works fine from gradle command line. Eclipse is showing a typical…
Mike Cooper
  • 1,065
  • 3
  • 13
  • 34
0
votes
0 answers

Copy legacy jars to Tomcat lib in Gradle-Eclipse

I have a Tomcat app built with Gradle and used along with Eclipse WTP plugin. Project's lib/tomcat dir contains several legacy jars, which must be present in tomcat/lib folder so that tomcat can register custom JNDI-resources. I have declared these…
injecteer
  • 20,038
  • 4
  • 45
  • 89
1 2 3
8 9