api / org.gradle.api.artifacts / ComponentSelection / reject

reject

abstract fun reject(reason: String): Unit

Rejects the candidate for the resolution.

Parameters

reason - The reason the candidate was rejected.