api / org.gradle.api.tasks.ant / AntTarget / setTarget

setTarget

open fun setTarget(target: Target): Unit

Sets the Ant target to execute.