uschindler commented on code in PR #834: URL: https://github.com/apache/lucene/pull/834#discussion_r857519990
########## gradle/validation/spotless.gradle: ########## @@ -110,10 +110,8 @@ configure(project(":lucene").subprojects) { prj -> check.dependsOn v v.dependsOn ":checkJdkInternalsExportedToGradle" } -} -gradle.taskGraph.afterTask { Task task, TaskState state -> - if (task.name == 'spotlessJavaCheck' && state.failure) { - throw new GradleException("\n****************************\n*PLEASE RUN ./gradlew tidy!*\n****************************"); + tasks.matching { task -> task.name == "spotlessJavaCheck" }.configureEach { Review Comment: Should we not move this above where the other tasks are configured? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org