Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 524 Bytes

gradle-eclipse-classpath-source.md

File metadata and controls

10 lines (6 loc) · 524 Bytes

title: Gradle: Generate your .classpath with sources tags: gradle,gradle-eclipse

One of the nice features of Gradle is that the eclipse plugin will generate your .classpath for you and will fetch the sources for all the dependencies that you have specified.

This comes by default by running 'gradle eclipse', but you can also run it separately, thereby not modifying any of your other eclipse project files:

	gradle eclipseClasspath

You obviously have to "apply plugin: 'eclipse'" at the top of your build.gradle file.