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
2
votes
1 answer

How to make Gradle add Lombok to its Project and external dependencies libraries?

I created a Java project in Eclipse Neon. I used Buildship 1.0.21 to import the project as a Gradle project and ran the wrapper and init commands to generate the build, settings and wrapper files. The project has an empty source folder because I am…
Mark
  • 2,167
  • 4
  • 32
  • 64
2
votes
1 answer

Gradle "Could not find method compile() for arguments" for Guava

Iv'e looked at the other "Could not find method compile() for arguments" questions here but found nothing to help me. I'm using the Buildship plugin for eclipse to import a Gradle project. This is build.gradle: repositories { …
Mark
  • 2,167
  • 4
  • 32
  • 64
2
votes
1 answer

Adding Gradle support to Eclipse

I want to add Gradle to Eclipse. My goal is to add Gradle management to dependencies of some Android projects which were built at the time using Eclipse and conversion to an Android Studio project doesn't end well. I've installed the Buildship…
CodeMonkey
  • 11,196
  • 30
  • 112
  • 203
2
votes
1 answer

Buildship - Having other Eclipse projects as dependencies

I have three eclipse projects (Project A, Project B, and Project C) in my workspace. Project B and C depend on Project A. In my build.gradle file, I've set up the dependencies in B and C to refer to A: repositories { mavenCentral() …
James
  • 2,876
  • 18
  • 72
  • 116
2
votes
2 answers

How to run the 'gradle init' task in Eclipse Buildship plugin?

I want to use Gradle for my Android project, and I use Eclipse (rather than Android Studio). My web-search pointed me to Eclipse's Gradle Plugin called Buildship. I downloaded and installed it following this guide. My need is to convert my Android…
Solace
  • 8,612
  • 22
  • 95
  • 183
2
votes
1 answer

Gradle Project Dependencies with Buildship

I have successfully imported my project (used to be maven) into buildship. If I run my build from the command line it all works. What I am having issues with now - is that within eclipse the dependencies are not managed correctly. All my projects…
purring pigeon
  • 4,141
  • 5
  • 35
  • 68
2
votes
1 answer

Is it possible for Gradle projects in buildship to resolve dependencies to other Gradle projects in the same workspace?

Copied from Is it possible for Gradle projects in Eclipse/STS to resolve dependencies to other Gradle projects in the same workspace? A Gradle project in my workspace (call it Downstream) needs to depend on another Gradle project (call it Upstream).…
Kaj Kandler
  • 318
  • 4
  • 9
1
vote
1 answer

Run Annotation Processor in Eclipse when an Annotation is removed

I've written an annotation processor that simply dumps the list of annotated classes to a text file. To accommodate incremental builds in Eclipse, it also attempts to re-read the file and checks if the classes still have the annotation, and if not,…
user1428945
  • 339
  • 1
  • 13
1
vote
0 answers

I got a error about Type gradle error marker

I got this error yesterday and don't know how to fix it. Please help me to solve it! org.eclipse.buildship.core.internal.UnsupportedConfigurationException: Project eclipseCode location matches workspace root F:\eclipseCode Project eclipseCode…
xichenli
  • 11
  • 3
1
vote
1 answer

How to print all command line arguments passed to gradle?

I want to know what parameters is gradle receiving from my IDE. So far, most documentation talks about passing custom properties but I want to be able to solve possible issues between my IDE and gradle. So, how to print all command line arguments…
JuanKB1024
  • 324
  • 1
  • 17
1
vote
1 answer

Buildship Gradle plugin Tasks Load hangs/gets stuck in Eclipse

I've been using Gradle Buildship plugins in Eclipse around a year. Now Eclipse is getting hung up on the process of Loading tasks of all Gradle projects. In the past, this task usually took a few seconds at startup and I didn't think anything of…
Pete Kelley
  • 3,713
  • 2
  • 16
  • 17
1
vote
1 answer

i have problem for setting java environment in windows

I have Gradle build like this plugins { id 'org.springframework.boot' version '2.4.2' id 'io.spring.dependency-management' version '1.0.11.RELEASE' id 'java' } group = 'test.build' version = '0.0.1-SNAPSHOT' sourceCompatibility =…
julolo
  • 47
  • 1
  • 5
1
vote
1 answer

Arguments tab missing in eclipse buildship plugin

'Aguments' tab is not visible in 'run configuration' in eclipse. steps to reproduce: create build.gradle file click 'run as' drop down -> run configuration -> select gradle task -> click 'new' on top right this will create 'new_configuration' and…
ram
  • 237
  • 2
  • 14
1
vote
5 answers

How to exclude test task when the gradle build task is run using Eclipse Buildship plugin?

I am using Eclipse Buildship plugin for executing Gradle tasks on my project. Any idea how to exclude the test task when the build task is run? In Gradle STS plugin, I used to update the Program arguments to '-x test' which skipped the test task.…
Kishore
  • 317
  • 2
  • 4
  • 17
1
vote
0 answers

gradle EAR plugin ignores ear block content when built through eclipse

I’m adding custom attributes to MANIFEST.MF file and deplomentDescriptor in ear. whichworks as expected when we build via gradle cli, but when I deploy to a server in eclipse it dosen’t generate or deploy the MANIFEST.MF and application.xml…
Karthik
  • 11
  • 1
1 2
3
8 9