Fix checkstyle even if com.palantir.java-format is not applied directly
Fix checkstyle if any formatter plugin is applied anywhere.
@@ -92,7 +92,7 @@ class BaselineConfig extends AbstractBaselinePlugin {
// Disable some checkstyle rules that clash with PJF
if (BaselineFormat.palantirJavaFormatterState(rootProject) != FormatterState.OFF
- || project.getPluginManager().hasPlugin("com.palantir.java-format")) {
+ || project.getPluginManager().hasPlugin("com.palantir.java-format-provider")) {
Path checkstyleXml = configDir.resolve("checkstyle/checkstyle.xml");
try {
