api / org.gradle.api.tasks / WriteProperties / setComment

setComment

open fun setComment(comment: String): Unit

Sets the optional comment to add at the beginning of the properties file.