Source for Gradle plugins
已回答
I'm debugging a Gradle 5.6 Wrapper build in IntelliJ 2019.2.1. I've included the sources for Gradle itself by using the ALL distribution instead of the BIN distribution, specified by the following line in `gradle/wrapper/gradle-wrapper.properties`:
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6-all.zip
I can navigate the Gradle code to debug it just fine.
I've applied the kotlin plugin to my project, yet I cannot navigate to code from that plugin within the debugger. I imagine that this will occur for other non-core-Gradle plugins, too.
How can I get the sources for the kotlin Gradle plugin to be navigable in the IntelliJ debugger while debugging a Gradle build?
请先登录再写评论。
Hello Ross,
You could find sources here: https://github.com/JetBrains/kotlin/tree/master/libraries/tools/kotlin-gradle-plugin
@Yaroslav Bedrov: Thanks. I meant: how do I get the source for the kotlin Gradle plugin to be navigable in the IntellJ debugger while debugging a Gradle build?
Ross,
Looks like you previous request: https://intellij-support.jetbrains.com/hc/en-us/community/posts/360000409100-Navigating-to-Gradle-plugin-source-in-debugger
Feature is not integrated yet. Please create feature request on YouTrack.
Should it be filed under IntelliJ or Kotlin?
Ross,
Under IntelliJ as it the same for all other plugins.
Here is the YouTrack issue: https://youtrack.jetbrains.com/issue/IDEA-221322
Ross,
Thanks!