apache / apache/grails-intellij-plugin

Grails 3 plugin gradle dependency sources are not attached correctly

Open
#240 0 comments 0 reactions 0 assignees View on GitHub
bug imported-from-youtrack
Dominant language
Java
Stars
17
Forks
4
Avg merge
5d 15h
Merged PRs (30d)
4

Description

In a Grails 3 application, if you add a new plugin dependency( i.e: spring-security-core), when you try to go to declaration of a class in this dependency jar, Idea decompiles the code instead of using the sources.jar

If you invalidate and restart, and try the same immediately without waiting idea to recreate the caches, then the correct source file is displayed. Hold that window open and when Idea finishes creating the cache and the progress bar completes, source screen changes automatically to display the decompiled source.

---

*Imported from [IDEA-150583](https://youtrack.jetbrains.com/issue/IDEA-150583) · Type: Bug · Votes: 0*
*Comments, attachments, dates and reporter are not part of the export — follow the link above for the full history.*

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce this in a Grails 3 application by adding the spring-security-core plugin dependency and navigating to a class declaration in IntelliJ IDEA. Observe dependency source selection before and after cache creation; done means the attached sources.jar remains the displayed source after the cache progress completes.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.