api / org.gradle.api.file / FileCollection / stopExecutionIfEmpty

stopExecutionIfEmpty

abstract fun stopExecutionIfEmpty(): FileCollection

Throws a StopExecutionException if this collection is empty.

Exceptions

StopExecutionException - When this collection is empty.

Return
this