You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by dw...@apache.org on 2022/12/13 07:42:10 UTC
[lucene] branch main updated: Run spotless after javac (#12012) (#12015)
This is an automated email from the ASF dual-hosted git repository.
dweiss pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/lucene.git
The following commit(s) were added to refs/heads/main by this push:
new 486003833ff Run spotless after javac (#12012) (#12015)
486003833ff is described below
commit 486003833ff771b9666e9000e7a617bce069aabb
Author: Dawid Weiss <da...@carrotsearch.com>
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 685bf0cec5b..705968cab84 100644
--- a/gradle/validation/spotless.gradle
+++ b/gradle/validation/spotless.gradle
@@ -92,6 +92,11 @@ configure(project(":lucene").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.