Gradle-classpath


(Ramya k) #1

How could i use the .classpath from eclipse directly in gradle build scipt to compile the src using those classpath


(Ramya k) #2

Am not using eclipse to compile but instaed scripts. This actually works in ant with ant.getEclipseClasspath.classpath but how could i do it gradle


(Luke Daley) #3

This has been asked before.

http://forums.gradle.org/gradle/topics/how_to_read_the_dependencies_from_an_eclipse_classpath


(Ramya k) #4

Tried the snippet but does’n seem to be working.

Cannot invoke method fromJarURI() on null object

Not sure why i get the above error…

Thanks