If I have a Gradle precompiled script plugin in `b...
# intellij
s
If I have a Gradle precompiled script plugin in
buildSrc/src/main/kotlin/some/package/script.gradle.kts
and I use the “Select opened file” button in the Project pane, IDEA often (but not always) takes me to
External Libraries
>
Script: my/project/build.gradle.kts
>
kotlin/some/package/script.gradle.kts
instead of to the expected location under
buildSrc
. Is it a known issue or should I make a ticket?
same 2
c
Odd. doing pretty much that (composite build, not buildSrc) and have never encountered this issue (latest IntelliJ version).
s
I’ve been trying to make a minimal reproduction project, and I can’t figure it out. It happens fairly consistently in my real project, but I’m not able to get it to happen in a new project. I guess next I’ll try making a copy of the real project and gradually deleting things 😄
c
ugh. perhaps the name “_script_.gradle.kts” is somewhat magical.
a
@Sam, can you please create a new ticket if you will be able to reproduce the issue in the new project? Thank you in advance!
👍 1