Skip to content

Commit

Permalink
Remove the Groovydoc plugin use (#111)
Browse files Browse the repository at this point in the history
* Update build.gradle

* Remove the Groovydoc plugin use

This plugin causes a resolution error failure when releasing.
We switch to Gradle's groovydoc task instead, which shouldn't
be a problem because we have almost no Groovy classes in the
public API and it seems that Groovy docs are not published
as part of the documentation we build in `docs`.

* Update Micronaut Gradle Plugin to 6.4.2

* Global exclude groovydoc gradle plugin
  • Loading branch information
puneetbehl authored May 5, 2023
1 parent e093092 commit f907141
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion buildSrc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ repositories {
}

configurations.all {
exclude group: "io.github.groovylang.groovydoc", module: "io.github.groovylang.groovydoc.gradle.plugin"
resolutionStrategy {
eachDependency { details ->
if (details.requested.group == 'org.codehaus.groovy') {
Expand All @@ -31,7 +32,6 @@ dependencies {
implementation "com.diffplug.spotless:spotless-plugin-gradle:6.17.0"
implementation "io.spring.nohttp:nohttp-gradle:0.0.11"
implementation "gradle.plugin.com.github.johnrengelman:shadow:7.1.2"
implementation "io.github.groovylang.groovydoc:io.github.groovylang.groovydoc.gradle.plugin:1.0.1"
implementation "io.github.gradle-nexus:publish-plugin:1.3.0"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,6 @@ tasks.withType(GroovyCompile).configureEach {
groovyOptions.forkOptions.jvmArgs.add('-Dgroovy.parameters=true')
}

tasks.withType(org.groovy.lang.groovydoc.tasks.GroovydocTask).configureEach {
tasks.withType(Groovydoc).configureEach {
classpath += project.configurations.documentation
}

0 comments on commit f907141

Please sign in to comment.