For a custom gradle plugin, you have the following lines:
dependencies {
compile gradleApi()
compile localGroovy()
}
But when applying the eclipse plugin, and building the classpath. It doesn’t include sources. Is there an easy way to get source jars along with the gradleApi and localGroovy?
The most useful would be the gradle sources, but it would be nice for everything to be included.
Unfortunately, there is no easy way. What I’ve done before is to download the Gradle distro and configure ‘eclipseClasspath’ to attach the distro’s ‘src’ directory to each Jar that has ‘gradle’ in its name.