hasPublishPlugin

fun Project.hasPublishPlugin(): Boolean

Checks whether the project has any of the publishing plugins applied.

Return

true if the project has any of the publishing plugins applied, false otherwise.