AntBuilder

abstract class AntBuilder : AntBuilder(source)

An AntBuilder allows you to use Ant from your build script.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
Represents the normal Ant message priorities.

Properties

Link copied to clipboard
val antXmlContext: AntXMLContext
Link copied to clipboard
open var metaClass: MetaClass
Link copied to clipboard
val project: Project

Functions

Link copied to clipboard
open fun getAnt(): AntBuilder
Returns this AntBuilder.
Link copied to clipboard
open fun getAntProject(): Project
Link copied to clipboard
Returns the Ant message priority that corresponds to the Gradle "lifecycle" log level.
Link copied to clipboard
abstract fun getProperties(): Map<String, Any>
Returns the properties of the Ant project.
Link copied to clipboard
open fun getProperty(propertyName: String): Any
Link copied to clipboard
abstract fun getReferences(): Map<String, Any>
Returns the references of the Ant project.
Link copied to clipboard
abstract fun importBuild(antBuildFile: Any)
Imports an Ant build into the associated Gradle project.
abstract fun importBuild(antBuildFile: Any, baseDirectory: String)
Imports an Ant build into the associated Gradle project, specifying the base directory for Gradle tasks that correspond to Ant targets.
abstract fun importBuild(antBuildFile: Any, taskNamer: Transformer<out @NotNull String, in String>)
Imports an Ant build into the associated Gradle project, potentially providing alternative names for Gradle tasks that correspond to Ant targets.
abstract fun importBuild(antBuildFile: Any, baseDirectory: String, taskNamer: Transformer<out String, in String>)
Imports an Ant build into the associated Gradle project, specifying the base directory and potentially providing alternative names for Gradle tasks that correspond to Ant targets.
Link copied to clipboard
open fun invokeMethod(methodName: String): Any
Link copied to clipboard
Link copied to clipboard
open fun setLifecycleLogLevel(logLevel: String)
Sets the Ant message priority that should correspond to the Gradle "lifecycle" log level.
Link copied to clipboard
open fun setProperty(propertyName: String, newValue: Any)
Link copied to clipboard
open fun setSaveStreams(saveStreams: Boolean)