Remove grails gradle plugin usage since the plugins are not full grails apps #13968
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Grails Plugins that do not provide views (need the view compiler) or do not run independently have no need for the grails gradle plugins. It's a better design to have a separate test project that imports the plugin to show the functionality.
Another way to put this: the gradle plugin seems to only impact the build of the plugin and not what's exported. If you only export the code via gradle & test externally it's not needed.
Going forward, this can lead to a huge amount of cleanup since we aren't including the grails gradle plugin, which is then including grails-core again, and many other side effects. It eliminates a key circular dependency that can cause unexpected behaviors and greatly simplifies our build files.
It also helps us decide what plugins to apply. For example, by not applying the grails gradle plugin, the dependency plugin doesn't get applied which gives us consistent resolution of dependencies.
Finally, it's overhead we don't need in our build process.