diff --git a/build.gradle.kts b/build.gradle.kts index 154b4e7f776..4ebd09a9a2e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -501,6 +501,9 @@ subprojects { exclude("test/**") } } + tasks.named("compileJava").configure { + dependsOn("spotlessCheck") + } } tasks.rat {