gradle
8.2

# rethrowFailure

abstract fun rethrowFailure()

A resolve of a configuration that is not successful does not automatically throws an exception. Such a exception is only thrown if the result of a resolve is accessed. You can force the throwing of such an exception by calling this method.

This method does nothing when resolution was successful.

#### Throws

ResolveException

when the resolve was not successful.