Eclipse Buildship Gradle Plugin Development : Gradle API Sources missing

I am in despair :wink:

I am developing Gradle Plugins with Eclipse Buildship. Everything fine, except that the Gradle - API sources are missing in the Project and External Dependencies Container.

I have among otherthings:
apply plugin: ‘java-gradle-plugin’
apply plugin: ‘eclipse’

eclipse {
classpath {
downloadJavadoc = true
downloadSources = true

I did a

./gradlew cleanEclipse eclipse
also i deleted the Gradle caches

No avail: There is gradle-api-5.0.jar located in a generated-gradle-jars with any Source Code
Note: the source code of the plugins and other dependencies is there.

What i am doing wrong?

I am using:
Buildship 3.0.1.x with Eclipse DSL Tools 2019-03 (4.11.0) and Gradle 5.0

Did you use a gradle wrapper? If so did you use the “bin” or the “all” distribution? only the later will provide access to the gradle sources.

1 Like