Skip to content

Commit a7bd810

Browse files
committed
Upgrade to Spring Java Format 0.0.29
Closes gh-755
1 parent 1a1fc97 commit a7bd810

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ asciidoctorj23Version=2.3.0
1212
asciidoctorj24Version=2.4.3
1313
asciidoctorj25Version=2.5.1
1414

15-
javaFormatVersion=0.0.27
15+
javaFormatVersion=0.0.29
1616
jmustacheVersion=1.12

settings.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ pluginManagement {
44
maven { url "https://repo.spring.io/plugins-release-local" }
55
gradlePluginPortal()
66
}
7+
resolutionStrategy {
8+
eachPlugin {
9+
if (requested.id.id == "io.spring.javaformat") {
10+
useModule "io.spring.javaformat:spring-javaformat-gradle-plugin:${requested.version}"
11+
}
12+
}
13+
}
714
}
815

916
plugins {

0 commit comments

Comments
 (0)