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

gradle.properties in project build directory not read via Eclipse/Buildship - command line works fine

I use the latest Eclipse (version 4.12) with Buildship Gradle Integration 3.0. I can see the tasks in the Gradle Tasks view, but I cannot run the tasks successfully. When I run a task from the command line then it works fine. When I run a task by…
Ely
  • 10,860
  • 4
  • 43
  • 64
0
votes
0 answers

Gradle - Create custom Groovy library with Java dependencies (apache commons)

I'm trying to create a groovy library (JAR) using java dependencies with no success. I managed to use simple methods, but when my code use third party libraries it won't find the related class. Gradle version: 5.2 Groovy 1.8.9 Project…
Rcordoval
  • 1,932
  • 2
  • 19
  • 25
0
votes
1 answer

Unable to build gradle project in eclipse?

After cleaning when i try to build gradle i get an error in the console saying: package org.json does not exist import org.json.JSONObject; cannot find symbol symbol : class JSONObject there are red marks in the java file at all places where…
0
votes
2 answers

Find out what changed resources caused a workspace refresh/rebuild in Eclipse with Buildship

Is there a way to get more detailed logging output from the Eclipse platform or the Buildship plugin (or even through the Gradle API itself) with regards to what caused a project to be rebuilt? Context: We are currently migrating from Eclipse Mars…
Crusha K. Rool
  • 1,502
  • 15
  • 24
0
votes
1 answer

Gradle Build Configuration help - Eclipse Oxygen

I'm using eclipse oxygen and i was trying to run Gradle Buid on build.gradle file. I have installed Buildship Gradle Integration 2.0 and also configured the dependencies. The issue is when i right click on build.gradle and try to run as, i don't…
N. Der
  • 507
  • 4
  • 18
0
votes
1 answer

Adding a Gradle Task for Eclipse

I have added the following the task to my build.gradle. task runJcer { group 'Welcome' description 'Produces a greeting' doLast { println 'Tony mac chops in the house' } } However, I don't see it in the Gradle Tasks view in…
More Than Five
  • 9,959
  • 21
  • 77
  • 127
0
votes
2 answers

Gradle Eclipse getting compile issues

In my build.gradle file I have a dependency that is wrong compile('org.springframework.boot:spring-boot-starter234') When I do gradle build I get: FAILURE: Build failed with an exception. * What went wrong: Could not resolve all files for…
More Than Five
  • 9,959
  • 21
  • 77
  • 127
0
votes
1 answer

gradle sync error file not found

I've a simple task which creates a bat file with task name which start with "server" and when executing the bat file gradle jobs starts, Code below : task runWebServers { def fileName = "runwebserver.bat" def inputFile = new…
Kid101
  • 1,440
  • 11
  • 25
0
votes
2 answers

Gradle is getting unknown JVM options

When I'm trying to import a gradle project to eclipse IDE I'm getting this error: I don't know why it's getting me errors like: Error: Could not create the Java Virtual Machine. Error: Invalid maximum heap size: -Xmx4g I've never specified options…
Jordi
  • 20,868
  • 39
  • 149
  • 333
0
votes
1 answer

Running gradle tasks from a subproject with unknown root

I have a multi-project setup in gradle with a somewhat-flat structure like so: RootProject/ build.gradle settings.gradle SubProjectA/ build.gradle anotherDirectory/ SubProjectB/ build.gradle SubProjectC/ …
Kevin Claas
  • 61
  • 1
  • 3
0
votes
2 answers

Spring Tool Suite not possible to create new project with Gradle: Can not import using Gradle (STS) because STS Gradle Tooling is not installed

I'm using the Spring Tool Suite: Version: 3.9.0.RELEASE Build Id: 201707061903 Platform: Eclipse Neon.3 (4.6.3) And the Gradle plugin installed: Buildship: Eclipse Plug-ins for Gradle 2.1.1.v20170713-0942 org.eclipse.buildship.feature.group…
Andrea Bevilacqua
  • 1,197
  • 3
  • 15
  • 27
0
votes
1 answer

setting user.dir for gradle app running in eclipse

I have a gradle app a former employee developed that runs perfectly from the command line using ./gradlew. But now I'm trying to debug it in eclipse, so I'm starting by just trying to run it in eclipse. I have the Buildship Gradle plugin installed…
Erich
  • 499
  • 1
  • 13
  • 34
0
votes
1 answer

buildship eclipse plugin for gradle not working

I have just installed the buildship eclipse plugin for gradle. I am using the following eclipse: Version: Neon.3 Release (4.6.3) Build id: 20170314-1500 When I try to Import or Create a New project I don't get the expected Gradle project wizard.…
Syed Ali
  • 1,817
  • 2
  • 23
  • 44
0
votes
1 answer

Eclipse: rerun the last gradle task just using keyboard

This was me. With the "Gradle STS" Eclipse plugin. In the end I managed to find an answer. IIRC, you went Run --> External tools... something something. Haven't looked at these things for a month or two so I've forgotten. I recently reinstalled…
mike rodent
  • 14,126
  • 11
  • 103
  • 157
0
votes
1 answer

With Buildship 2 subprojects are not linked as Project Dependencies

For several months we've been using Buildship 1.X plus some manual .launch/tasks to build our Eclipse/WTP config files per development environment. I am currently attempting to migrate to using Buildship 2 (which I'm hoping will rid us of the need…
elfdude
  • 41
  • 2
1 2 3
8 9