gradle-eclipse

Eclipse Gradle Plugin 'could not fetch model of type'

╄→гoц情女王★ 提交于 2019-12-01 03:24:12
I am running Eclipse Luna on OS X with Gradle IDE 3.6.1 and anytime I try to select a project from the gradle tasks panel I get the following error: org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 Could not fetch model of type 'EclipseProject' using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.0-bin.zip'. Has anyone else run into this error? I can get to the URL specified to download the file myself. So, network connectivity shouldn't be the problem. Eclipse 4.4.1 broke Gradle Eclipse support with non-string values in system properties.This is fixed in the

Gradle + Buildship - Switch dependency between JAR and projects

允我心安 提交于 2019-11-29 08:57:29
问题 I'm having some trouble configuring Buildship for Eclipse the way I want. I currently have > 50 projects always open in Eclipse, but I want to move to having only the projects I am actively working on in Eclipse, and the other projects would use a Maven repository to resolve their dependency. Lets say ProjectA (which contains a main) depends on ProjectB (a library project). If ProjectB is opened in Eclipse, I would like ProjectA to use ProjectB directly. A change in the code in ProjectB would

Running Gradle project via Eclipse errors “system Cannot find System Java Compiler”

≯℡__Kan透↙ 提交于 2019-11-27 21:01:40
When I run Gradle project via Eclipse I get below error. system Cannot find System Java Compiler. Ensure that you have installed a JDK (not just a JRE) and configured your JAVA_HOME system variable to point to the according directory. Could not execute build using Gradle installation 'C:\gradle-1.2-all\gradle-1.2'. But I have installed JDK 1.7 and set the JAVA_HOME environment variable. Go to File -> Other Settings -> Default Project Structure Now Set your JDK location In Preference of Eclipse (main menu: Window -> Preferences), select Gradle -> Arguments -> Java Home, select "Workspace JRE".

Is there any way to integrate Eclipse with Gradle in Android project?

一个人想着一个人 提交于 2019-11-26 14:25:20
I have Android project with standard build.gradle (also I added android annotations). Also I installed Gradle plugin (from http://dist.springsource.org/release/GRECLIPSE/e4.3/ ) to my Eclipse (Kepler) and converted project to Gradle project. Unfortunately I cannot run Gradle build on my Eclipse (in cmd line everything works). My question is how to make Eclipse works with Gradle just like with Maven. In order to be able to build an Android gradle project with Eclipse I followed these instructions: Install these Eclipse plugins: Gradle IDE (3.4.0) Android Development Tools (22.3.0) If you have

Peer not authenticated while importing Gradle project in eclipse

六月ゝ 毕业季﹏ 提交于 2019-11-26 14:09:12
While I am importing gradle project in eclipse, it is giving me this error. FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'test'. > Could not resolve all dependencies for configuration ':classpath'. > Could not resolve de.richsource.gradle.plugins:gwt-gradle-plugin:0.3. Required by: :test:unspecified > Could not GET 'https://github.com/steffenschaefer/gwt-gradle-plugin/raw/maven-repo/de/richsource/gradle/plugins/gwt-gradle-plugin/0.3/gwt-gradle-plugin-0.3.pom'. > peer not authenticated * Try: Run with --stacktrace option to get the

Peer not authenticated while importing Gradle project in eclipse

百般思念 提交于 2019-11-26 04:36:32
问题 While I am importing gradle project in eclipse, it is giving me this error. FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project \'test\'. > Could not resolve all dependencies for configuration \':classpath\'. > Could not resolve de.richsource.gradle.plugins:gwt-gradle-plugin:0.3. Required by: :test:unspecified > Could not GET \'https://github.com/steffenschaefer/gwt-gradle-plugin/raw/maven-repo/de/richsource/gradle/plugins/gwt-gradle-plugin

Is there any way to integrate Eclipse with Gradle in Android project?

十年热恋 提交于 2019-11-26 03:53:51
问题 I have Android project with standard build.gradle (also I added android annotations). Also I installed Gradle plugin (from http://dist.springsource.org/release/GRECLIPSE/e4.3/) to my Eclipse (Kepler) and converted project to Gradle project. Unfortunately I cannot run Gradle build on my Eclipse (in cmd line everything works). My question is how to make Eclipse works with Gradle just like with Maven. 回答1: In order to be able to build an Android gradle project with Eclipse I followed these

How to add local .jar file dependency to build.gradle file?

霸气de小男生 提交于 2019-11-25 23:59:08
问题 So I have tried to add my local .jar file dependency to my build.gradle file: apply plugin: \'java\' sourceSets { main { java { srcDir \'src/model\' } } } dependencies { runtime files(\'libs/mnist-tools.jar\', \'libs/gson-2.2.4.jar\') runtime fileTree(dir: \'libs\', include: \'*.jar\') } And you can see that I added the .jar files into the referencedLibraries folder here: https://github.com/WalnutiQ/wAlnut/tree/version-2.3.1/referencedLibraries But the problem is that when I run the command: