You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by "jdaugherty (via GitHub)" <gi...@apache.org> on 2026/09/01 18:23:09 UTC
[I] Grails: "Incompatible type assignments" inspection warning for valid dependency specification code in BuildConfig.groovy [grails-intellij-plugin]
jdaugherty opened a new issue, #177:
URL: https://github.com/apache/grails-intellij-plugin/issues/177
In `BuildConfig.groovy`, valid dependency specification triggers "Incompatible type assignments" warning. For example, in the `BuildConfig.groovy` of a plugin just generated with "`grails create-plugin`" command (grails 2.3.11), there is a declaration
```
build(":release:3.0.1", ":rest-client-builder:1.0.3") {
export = false
}
```
Idea complains that "build cannot be applied to (java.lang.String, java.lang.String, groovy.lang.Closure<java.lang.Boolean>)" although declaration is perfectly valid.
---
*Imported from [IDEA-133340](https://youtrack.jetbrains.com/issue/IDEA-133340) · Type: Bug · Votes: 0*
*Comments, attachments, dates and reporter are not part of the export — follow the link above for the full history.*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@grails.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org