Class SpringJavaFormatExtension.Checkstyle

java.lang.Object
io.spring.javaformat.gradle.SpringJavaFormatExtension.Checkstyle
Enclosing class:
SpringJavaFormatExtension

public abstract static class SpringJavaFormatExtension.Checkstyle extends Object
  • Constructor Details

    • Checkstyle

      @Inject public Checkstyle(org.gradle.api.Project project)
  • Method Details

    • getConfigureDependencies

      public abstract org.gradle.api.provider.Property<Boolean> getConfigureDependencies()
      Property that controls whether Checkstyle's dependencies should be configured to use Spring Java Format's checks.
      Returns:
      the property
    • applyDefaultConfig

      public void applyDefaultConfig()
      Applies Spring Java Format's default Checkstyle config, enabling all Spring checks.
      See Also:
      • CheckstyleExtension.setConfig(TextResource)