api / org.gradle.api.artifacts.maven / MavenDeployer / setUniqueVersion

setUniqueVersion

abstract fun setUniqueVersion(uniqueVersion: Boolean): Unit

Sets whether to assign snapshots a unique version comprised of the timestamp and build number, or to use the same version each time. Defaults to true.