Questions tagged [gradle-eclipse]

Gradle plugin for support of all Eclipse files for a project

182 questions
0
votes
1 answer

How can I use Gradle dependency managemenent with an Eclipse WTP project without errors?

I am new to Gradle. I've setup my project as a Gradle Project with the Gradle plugin, so that the project configuration is rebuilt based on the gradle build script. I'm trying to setup my app as a dynamic web project (using the eclipse-wtp Gradle…
Kaypro II
  • 3,210
  • 8
  • 30
  • 41
0
votes
2 answers

Automatically perform eclipseClean, eclipse on Git Pull

Environment: Gradle <= 2.5, STS <= 3.7 or Eclipse version <= Luna It is annoying to work with Gradle and Eclipse (or STS) that you have to keep performing "Gradle Refresh" or "Gradle RefreshAll" numerous time in the development workflow. Here are…
bhantol
  • 9,368
  • 7
  • 44
  • 81
0
votes
0 answers

github project not launching as web app inside eclipse

I have eclipse mars installed with the egit plugin. It successfully downloads projects from github, but how do I convert the downloaded github projects into eclipse maven web projects that can successfully launch via Run As ... Run on server in…
CodeMed
  • 9,527
  • 70
  • 212
  • 364
0
votes
1 answer

Gradle alternate name for build.gradle and conventions for nested modules

Here is a problem I run into. In Eclipse/STS when I open multiple build.gradle I can't tell what files they belong without looking at the path. (This is same as pom.xml in Maven.) Is there a way to say have something like below: top-project …
bhantol
  • 9,368
  • 7
  • 44
  • 81
0
votes
1 answer

How does gradle-eclipse plugin deal with dependsOn

How does Gradle Eclipse plugin figure constructs as below compileJava.dependsOn xjc
bhantol
  • 9,368
  • 7
  • 44
  • 81
0
votes
2 answers

Problems during build when referencing static lib directory gradle

I use a build.gradle file which needs to reference some jar files which are neither available on a public nor an internal repository. Because of that I put the jar files into a lib directory which is below my Eclipse project: dependencies { ... …
Marged
  • 10,577
  • 10
  • 57
  • 99
0
votes
1 answer

How to prevent eclipse-integration-gradle plugin from putting subprojects among filteredResources?

I am using Eclipse IDE for a Gradle project, together with the eclipse-integration-gradle plugin. When choosing the "Refresh All" menu item, the plugin invokes Gradle :eclipse task to refresh the .classpath and .project files. After gradle…
Marwin
  • 2,655
  • 1
  • 19
  • 17
0
votes
1 answer

Eclipse Luna Gradle Plugin adds a dependency that is not referenced

I'm using Eclipse Luna and the Gradle Plugin for Eclipse Luna (Using the Gradle IDE Pack 3.6.x from Pivotal). I created a simple Java project with Gradle support. Below my build.gradle apply plugin: 'java' apply plugin: 'eclipse' apply plugin:…
0
votes
3 answers

STS 3.6.4 Gradle tooling not available?

I've just downloaded Spring Tool Suite 3.6.4 (201503100339, Eclipse Luna SR1 (4.4.2)) on Windows 8. I'm attempting to import an existing Gradle project, but this option is not available within the import menu. Playing a hunch that Gradle support…
Ken Krueger
  • 1,005
  • 14
  • 26
0
votes
1 answer

Open "gradle" project

I am an Android beginner and I downloaded the DisplayBitmaps project from the following link: http://developer.android.com/training/displaying-bitmaps/index.html It seems that there are no java files under the "src" folder but i find some codes…
0
votes
1 answer

How can I use gradle Integration for eclipse and how can I create build.gradle in eclipse

I downloaded the gradle plugin from eclipse market place. but can't able to create built.gradle in my project. For downloading the plugin I use this link http://dist.springsource.com/release/TOOLS/update/e4.4/. From this link I specifically select…
Patil
  • 5
  • 4
0
votes
1 answer

How to include library folder for compilation of classes

I am using gradle for a multi-project build. During compilation it is giving errors because it is not taking libraries from local server and EAR lib. How to specify these directories in gradle. And how can we specify JBOSS_HOME from environment…
0
votes
1 answer

Set EclipseProject.referencedProjects using dependencies in Gradle

I am creating Eclipse project files as shown: eclipse { project { natures 'org.eclipse.jdt.core.javanature' buildCommand 'org.eclipse.jdt.core.javabuilder' } classpath { downloadSources true …
Ned Twigg
  • 2,159
  • 2
  • 22
  • 38
0
votes
1 answer

Gradle Project Resources Not Added to Classpath

I've been tasked with write some base classes for automated integration tests for an existing project, and I've run into a snag with project dependencies. The (abstracted) project layout is this: project / MainProject Plugins / ... …
Brandon McKenzie
  • 1,655
  • 11
  • 26
0
votes
2 answers

Gradle add eclipse project to classpah

I have 2 projects, project A and B, how put/link project A inside project B classpath? Every time I need to make it manually, click on Configure Classpath on project B, click on Projects tabsheet, add the project, after that, click on Order and…
Rodrigo Rodrigues
  • 649
  • 2
  • 12
  • 25