From ec1100a8960c19a05e55efed6256af022f3c38c5 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Fri, 27 Jul 2018 20:58:53 +0100 Subject: [PATCH] Upgrade to spring-javaformat 0.0.6 Closes gh-13932 --- pom.xml | 4 ++-- .../spring-boot-gradle-plugin/build.gradle | 21 +++++++++++-------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/pom.xml b/pom.xml index 8590fb9bf4..838de708a9 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ - 0.0.3 + 0.0.6 @@ -36,7 +36,7 @@ com.puppycrawl.tools checkstyle - 8.8 + 8.11 io.spring.javaformat diff --git a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle index 939c79c4aa..10341c0d21 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle +++ b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle @@ -1,8 +1,20 @@ +buildscript { + repositories { + mavenLocal() + mavenCentral() + } + dependencies { + classpath("io.spring.javaformat:spring-javaformat-gradle-plugin:0.0.6") + } +} + plugins { id 'java' id 'eclipse' } +apply plugin: 'io.spring.javaformat' + repositories { mavenLocal() mavenCentral() @@ -29,15 +41,6 @@ test { } } -eclipseJdt { - inputFile = rootProject.file('../../../eclipse/org.eclipse.jdt.core.prefs') - doLast { - project.file('.settings/org.eclipse.jdt.ui.prefs').withWriter { writer -> - writer << file('../../../eclipse/org.eclipse.jdt.ui.prefs').text - } - } -} - javadoc { options { author()