api / org.gradle.api.publish.maven.tasks / GenerateMavenPom / setDestination

setDestination

open fun setDestination(destination: File): Unit

Sets the destination the descriptor will be written to.

Parameters

destination - The file the descriptor will be written to.

Since
4.0

open fun setDestination(destination: Any): Unit

Sets the destination the descriptor will be written to. The value is resolved with org.gradle.api.Project#file(Object)

Parameters

destination - The file the descriptor will be written to.