diff --git a/buildSrc/gradle.properties b/buildSrc/gradle.properties index 3c2439699a..3bb065791d 100644 --- a/buildSrc/gradle.properties +++ b/buildSrc/gradle.properties @@ -1 +1 @@ -javaFormatVersion=0.0.26 \ No newline at end of file +javaFormatVersion=0.0.29 diff --git a/buildSrc/src/main/java/org/springframework/boot/build/JavaConventions.java b/buildSrc/src/main/java/org/springframework/boot/build/JavaConventions.java index 743fe1a43c..b4a2931c3d 100644 --- a/buildSrc/src/main/java/org/springframework/boot/build/JavaConventions.java +++ b/buildSrc/src/main/java/org/springframework/boot/build/JavaConventions.java @@ -24,9 +24,9 @@ import java.util.Set; import java.util.TreeMap; import java.util.stream.Collectors; -import io.spring.javaformat.gradle.CheckTask; -import io.spring.javaformat.gradle.FormatTask; import io.spring.javaformat.gradle.SpringJavaFormatPlugin; +import io.spring.javaformat.gradle.tasks.CheckFormat; +import io.spring.javaformat.gradle.tasks.Format; import org.gradle.api.JavaVersion; import org.gradle.api.Project; import org.gradle.api.artifacts.Configuration; @@ -70,8 +70,8 @@ import org.springframework.boot.build.toolchain.ToolchainPlugin; *
  • A {@code testRuntimeOnly} dependency upon * {@code org.junit.platform:junit-platform-launcher} is added to projects with the * {@link JavaPlugin} applied - *
  • {@link JavaCompile}, {@link Javadoc}, and {@link FormatTask} tasks are configured - * to use UTF-8 encoding + *
  • {@link JavaCompile}, {@link Javadoc}, and {@link Format} tasks are configured to + * use UTF-8 encoding *
  • {@link JavaCompile} tasks are configured to use {@code -parameters}. *
  • When building with Java 8, {@link JavaCompile} tasks are also configured to: *