Skip to content

Commit

Permalink
Update PublishGuide to use Gradle AntBuilder (#13622)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesfredley authored Sep 6, 2024
1 parent a3612c6 commit 8a7e66c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 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,14 @@ 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 java.util.regex.Pattern
import org.gradle.api.AntBuilder

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

0 comments on commit 8a7e66c

Please sign in to comment.