Questions tagged [gradle-eclipse]

Gradle plugin for support of all Eclipse files for a project

182 questions
1
vote
2 answers

Gradle AppEngine project file changes not reflecting without restart

i wanted to know how others are hanlding this issue of file changes not getting reflected in running application which users gradle or maven (in this case gradle) i have a gradle appengine project and while the application is running if i make any…
Ramesh Lingappa
  • 2,448
  • 20
  • 33
1
vote
1 answer

How to reference an android library that is stored in a subfolder of the main android project?(I am using gradle and eclipse)

I want to store a library project (FB SDK)my main project is depending on in the subfolder of my main project. Heres what I have done so far: Copied the FB SDK library project in the libs folder. Added the following line in build.gradle: compile…
1
vote
2 answers

How to include jars from libs folder to another jar?

I have Gradle JAR (Main) project. I have other commons-io jars (dependent) that I would like to package them with the Main JAR. I tried below, but when I decompile Main JAR, I see all the dependent JARS inside libs folder with .jar extension. jar { …
1
vote
1 answer

Error when trying to install Gradle Integration for Eclipse

I get this dependency error when I try to install Gradle Integration for Eclipse: Cannot complete the install because one or more required items could not be found. Software being installed: Spring Dashboard (optional)…
venta7
  • 169
  • 5
  • 13
1
vote
2 answers

Gradle + Eclipse: How to not export JARs that are dependencies of a dependency?

In my build.gradle file I have the following: ... dependencies { ... testCompile (group: 'org.uncommons', name: 'reportng', version: '1.1.2') { exclude group: 'org.testng', module: 'testng' } ... } ... reportng needs velocity-1.4.jar and…
SantiBailors
  • 1,596
  • 3
  • 21
  • 44
1
vote
1 answer

Why Does gradle eclipseClasspath task does not include transitive project dependencies?

I created a simple example(the names don't really mean anything): folder structure: gradleMultiProject build.gradle core build.gradle src main java Core.java database …
1
vote
1 answer

Gradle sets absolute paths to Maven repository in org.eclipse.wst.common.component

Given a gradle build script with plugins war, maven and eclipse-wtp. gradle eclipseWtp make entries in org.eclipse.wst.common.component with absolute paths that cannot be committed to the source code repository, since they are user specific - see…
Markus Pscheidt
  • 6,853
  • 5
  • 55
  • 76
1
vote
1 answer

Gradle IDE (Eclipse) Documentation

I am learning Gradle and have found my way around the normal use case. But now I have to step into integration with Eclipse (specifically STS) and need to learn more about how "Gradle projects" are imported into Eclipse (without having to generate…
Learner
  • 1,215
  • 1
  • 11
  • 26
1
vote
2 answers

Migrating from ant + ivy to gradle

I read many good things about gradle so I get impressed. Many people are enthusiastic how easy is to develop with gradle. They all emphasize the multi-project capabilies of gradle. I already have a main project with some subprojects. The outside…
BTakacs
  • 2,397
  • 3
  • 24
  • 26
1
vote
2 answers

How to get SVN revision in Gradle for Android?

I have field (svn revision) in resource. How can I get svn revision in my field using by Gradle, that not to do that by my hands?
Viacheslav
  • 521
  • 10
  • 21
1
vote
1 answer

How to add a concrete reference to the classpath in Eclipse project by gradle?

All examples that I see in the documentaton, that tell how to add an entry to the Eclipse project classpath by build.gradle file are too common. They say nothing how to add an entry:
Gangnus
  • 24,044
  • 16
  • 90
  • 149
0
votes
1 answer

Could not determine java version from '17'

When I going to setup my Spring boot project in spring tool suite 4.12.1 as Gradle(STS) project I got error like "Could not determine java version from '17'. But project is used java 11. Gradle version is 6.8.3. I cloned project from git…
0
votes
1 answer

Gradle Build Failed - Could not find org.apache.xalan:xalan:2.7.1

Am trying to build the application using Gradle. Error says "xalan-2.7.1.jar" is required by org.apache.rampart:rampart-core/policy/trust. But it was not loaded. C:\dev\workspace_A_Gradle\a-notification>gradle build > Configure project : Current…
Bharathiraja S
  • 679
  • 4
  • 12
  • 26
0
votes
1 answer

Import Ant-build into Gradle Task

I am working on migration on Ant to Gradle. Currently I have 2 build.xml files which created 2 different .ear files. Instance buildA.xml is depends on buildB.xml and I need to build BuildB.xml separately. I only have one build.gradle and I tried…
Pardeep
  • 5
  • 4
0
votes
0 answers

Eclipse / Gradle: Task 'Sync' does not synchronized linked files or folders

I would to like synchronize two folders in my eclipse project with a gradle task. The source folder is a linked resource. The destination folder a 'real' folder. I choose the gradle Sync task to do the work, but no file or folder was copied to the…
Ben
  • 290
  • 2
  • 17