Skip to content

Commit ec1100a

Browse files
committed
Upgrade to spring-javaformat 0.0.6
Closes gh-13932
1 parent cddd794 commit ec1100a

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</property>
2525
</activation>
2626
<properties>
27-
<spring-javaformat.version>0.0.3</spring-javaformat.version>
27+
<spring-javaformat.version>0.0.6</spring-javaformat.version>
2828
</properties>
2929
<build>
3030
<plugins>
@@ -36,7 +36,7 @@
3636
<dependency>
3737
<groupId>com.puppycrawl.tools</groupId>
3838
<artifactId>checkstyle</artifactId>
39-
<version>8.8</version>
39+
<version>8.11</version>
4040
</dependency>
4141
<dependency>
4242
<groupId>io.spring.javaformat</groupId>

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle

+12-9
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,20 @@
1+
buildscript {
2+
repositories {
3+
mavenLocal()
4+
mavenCentral()
5+
}
6+
dependencies {
7+
classpath("io.spring.javaformat:spring-javaformat-gradle-plugin:0.0.6")
8+
}
9+
}
10+
111
plugins {
212
id 'java'
313
id 'eclipse'
414
}
515

16+
apply plugin: 'io.spring.javaformat'
17+
618
repositories {
719
mavenLocal()
820
mavenCentral()
@@ -29,15 +41,6 @@ test {
2941
}
3042
}
3143

32-
eclipseJdt {
33-
inputFile = rootProject.file('../../../eclipse/org.eclipse.jdt.core.prefs')
34-
doLast {
35-
project.file('.settings/org.eclipse.jdt.ui.prefs').withWriter { writer ->
36-
writer << file('../../../eclipse/org.eclipse.jdt.ui.prefs').text
37-
}
38-
}
39-
}
40-
4144
javadoc {
4245
options {
4346
author()

0 commit comments

Comments
 (0)