apache / apache/grails-intellij-plugin

Grails: Adding an inline plugin to BuildConfig.groovy does not add the plugin as a module

Open
#170 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

IDEA IU-138.1696.2
Grails version 2.2.4

If I add an inline plugin at the end of BuildConfig.groovy
grails.plugin.location.'my-plugin' = '../my-plugin'
I don't get a question about reloading configuration. Didn't I get that in previous versions?
The myPlugin-inplacePlugin module is not added to the project. No matter what I try, "Synchronize Grails settings" or "Run target: grails –refresh-dependencies compile". The module is not added. I have to add it manually. But it's a lot of work to get every source/test/exclude folder right in a Grails module.

---

*Imported from [IDEA-128857](https://youtrack.jetbrains.com/issue/IDEA-128857) · Type: Bug · Votes: 3*
*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 the issue with Grails 2.2.4 by adding the inline plugin declaration to BuildConfig.groovy, then inspect the handling behind Synchronize Grails settings and grails --refresh-dependencies compile. Done means configuration reload is offered and the myPlugin-inplacePlugin module is created with its project folders configured automatically.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.