getFailure

A summary of the configuration time and execution time failure(s) that occurred as Gradle tried to execute the scheduled work.

Return

empty when no failures occur.