Questions tagged [gradle-eclipse]

Gradle plugin for support of all Eclipse files for a project

182 questions
2
votes
3 answers

Gradle in eclipse is not showing external dependencies sources and java docs in eclipse IDE

I am new to gradle. I converted one of my maven project to gradle. I installed eclipse gradle plugin. After that I configure my gradle like below Here is my build.gradle apply plugin: 'application' // implicitly apply java and distribution…
Basit
  • 8,426
  • 46
  • 116
  • 196
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
2 answers

Chinese characters in gitignore

I am using git for bunch of my java projects. I want to ignore .classpath, bin, .gradle and bunch of other files and folders. I cannot access this files / folders in eclipse to ignore them from eclipse. Hence I decided to edit the .gitignore file.…
Prabodh Mhalgi
  • 805
  • 9
  • 25
2
votes
1 answer

Why providedCompile dependency gets deployed?

In my build.gradle I have dependencies { ... providedCompile 'javax:javaee-web-api:7.0' } I imported the project in Eclipse Mars 4.5.0 (I also installed Gradle IDE 3.7.0.201506251228-RELEASE). The Gradle dependencies contain the library…
Adrian Ber
  • 20,474
  • 12
  • 67
  • 117
2
votes
1 answer

Java files from jar (generated using gradle task) are not getting accessed in workspace

I am trying to generate java sources from WSDL, package those sources into jar and add that jar into project dependencies. So far I created jar from wsdl2Java utility of cxf using gradle task (in image bem-1.0.jar) but java files created inside this…
Ali
  • 1,480
  • 2
  • 20
  • 30
2
votes
0 answers

Switch Eclipse Android project to build with Gradle

I've read a lot of post regarding this topic but all the answers are quite old and noone solves this specific aspects. I'm wondering if there is a clean way to be able to start working with Gradle to build the same Android applications I used to…
2
votes
1 answer

Issues excluding transitive dependency of project reference from eclipse class path

I have several gradle projects in my eclipse workspace. For the sake of simplicity I'm only really interested in 2 of them, let's just use A and B for this. So the problem I'm having is that Project A has an included dependency on JBoss, which…
Sloloem
  • 1,587
  • 2
  • 15
  • 37
2
votes
1 answer

Gradle eclipse plugin - missing webapp content on WAR file

I just started using Gradle and so far I think it is a great tool but currently I'm having a problem to generate a web application which works with eclipse. My folders structure looks like this: /WebGradle /src /main /java …
Paco Lagunas
  • 320
  • 1
  • 13
2
votes
1 answer

Eclipse STS Gradle Plugin Dependency Breaks

I'm having an issue that you all might know how to solve. I pushed a new build for one of my projects to my Sonatype Nexus instance. Then I updated the dependencies of another project to use the new build version. After refreshing the project,…
Zixradoom
  • 917
  • 1
  • 10
  • 24
2
votes
1 answer

Jump from log message to line in Eclipse when running application with Gradle

Eclipse creates links to source files if you format your log messages like this: // Clicking this in Eclipse's console window // will take you to line 29 of MyClass.java System.out.println("(MyClass.java:29)"); This works fine when compiling and…
Matthias Braun
  • 32,039
  • 22
  • 142
  • 171
2
votes
1 answer

Generating more than one apk , with same resources , with different app names , using Gradle

I'm just getting my first steps using Gradle on android projects,just can i know if it's possible to generate two apk with different app names , and SAME resources ,using gradle. to concreticize more : i want to compile a Helloworld project , and…
wissem46
  • 393
  • 3
  • 5
  • 14
2
votes
2 answers

gradle ide eclipse plugin import gradle project build model results in UnsatisfiedLinkError: net

I am running Rational Application Developer v9.0 and am attempting to import a gradle project using the Gradle IDE eclipse plugin (v3.4.0). My Gradle project (a nested multi project build) builds correctly in the command line, however when I attempt…
coderatchet
  • 8,120
  • 17
  • 69
  • 125
2
votes
2 answers

best way to enable hot deployment on Jetty when using Gradle+Eclipse

I'm used to mvn, but I'm testing Gradle (v1.8) for a small web development project. I've noticed that the Jetty Gradle plugin support autoscan and hot deployment, so I've enabled it. My goal is to recompile from Eclipse and get a Jetty reload the…
Sebastian
  • 1,835
  • 3
  • 22
  • 34
2
votes
0 answers

Attaching a source dependency to a dependency with classifiers

I have this dependency: testCompile group:"org.apache.mrunit", name:"mrunit", version:"1.+", classifier:'hadoop2' I'm also using the eclipse plugin, but that dependency isn't getting its sources attached. The sources are there in Maven Central,…
Robert Fischer
  • 1,436
  • 12
  • 26
1
vote
0 answers

Eclipse 2020-06-R Does Not Start After Install Plugin Gradle

I have a problem with my Eclipse. before install plugin gradle on eclipe it's running well but after installed plugin Gradle on my eclipse it's should to restart application end then starting applications BOOMS this show popup issue : Showing…