Skip to content

Commit b09cfa4

Browse files
committed
fix: apply java-library plugin to Grails Plugin projects
Grails plugins are Java libraries and should have access to the `api` dependency configuration by default.
1 parent 795c8ab commit b09cfa4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsPluginGradlePlugin.groovy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ class GrailsPluginGradlePlugin extends GrailsGradlePlugin {
6060
void apply(Project project) {
6161
super.apply(project)
6262

63+
project.pluginManager.apply('java-library')
64+
6365
checkForConfigurationClash(project)
6466

6567
configureAstSources(project)

0 commit comments

Comments
 (0)