Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use groovy.ant.AntBuilder in PublishGuide/DocPublisher #13625

Merged
merged 1 commit into from
Sep 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions grails-docs/src/main/groovy/grails/doc/DocPublisher.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,13 @@ import groovy.io.FileType
import groovy.text.Template

import org.apache.commons.logging.LogFactory
import org.gradle.api.internal.project.ant.BasicAntBuilder
import org.radeox.api.engine.WikiRenderEngine
import org.radeox.engine.context.BaseInitialRenderContext
import org.radeox.engine.context.BaseRenderContext
import org.yaml.snakeyaml.LoaderOptions
import org.yaml.snakeyaml.Yaml
import org.yaml.snakeyaml.constructor.SafeConstructor
import org.gradle.api.AntBuilder
import groovy.ant.AntBuilder

/**
* Coordinated the DocEngine the produce documentation based on the gdoc format.
Expand Down Expand Up @@ -517,7 +516,7 @@ class DocPublisher {
apiDir = target
}
if (!ant) {
ant = new BasicAntBuilder()
ant = new AntBuilder()
}
def metaProps = DocPublisher.metaClass.properties
Properties props
Expand Down
Loading