Traversing Gradle class hierarchy from Gradle source used for build of my IntelliJ project
Answered
I'm using a Gradle Wrapper 4.7 Kotlin DSL build for my project. I want to look at the gradle source so I can figure out how it works so I can improve my build.
I'm able to use Goto Declaration on code like dependencies {implementation("group:artifact:version")} in my build.gradle.kts, but, when I get to the source for the DependencyHandler interface, the IntelliJ gutter does not show icons to show the list of sub-interfaces / subclasses, or to show overriding methods.
Is there any way to enable this? If not, is there an existing YouTrack feature request?
I'm using the following in my gradle-wrapper.properties so I can see the Gradle source:
distributionUrl=https\://services.gradle.org/distributions/gradle-4.7-all.zip
Please sign in to leave a comment.
Hello Ross,
I couldn't find similar issues on YouTrack. Please report new one: http://youtrack.jetbrains.com/issues/KT.
Thanks for the info. Should this request be for Kotlin, as indicated by your link, or for IntelliJ? I would have used the latter, except that your link indicates creating a Kotlin issue. Once I know which project, I'll create the request.
Ross,
I've found related request: https://youtrack.jetbrains.com/issue/IDEA-134795. Adding sources should provide proper navigation.