This is an automated email from the ASF dual-hosted git repository.

krisden pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new bc2d9623f79 Run spotless after javac (#12012) (#12015)
bc2d9623f79 is described below

commit bc2d9623f7960f83636eb8416b11dd4e91ab4b22
Author: Dawid Weiss <[email protected]>
AuthorDate: Tue Dec 13 08:42:04 2022 +0100

    Run spotless after javac (#12012) (#12015)
---
 gradle/validation/spotless.gradle | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gradle/validation/spotless.gradle 
b/gradle/validation/spotless.gradle
index 90bd625dce1..3239ac4b1a3 100644
--- a/gradle/validation/spotless.gradle
+++ b/gradle/validation/spotless.gradle
@@ -80,6 +80,11 @@ configure(project(":solr").subprojects) { prj ->
         project.mkdir("${buildDir}/spotless/spotlessJava")
       }
     }
+
+    // Schedule the core formatting task to run after Java compilation 
(GH-12012)
+    spotlessJava {
+      mustRunAfter tasks.withType(JavaCompile)
+    }
   }
 
   // Emit a custom message about how to fix formatting errors.

Reply via email to