You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.adoc
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -130,19 +130,21 @@ A plugin is provided.
130
130
To use it, first update `settings.gradle` to add Maven Central as a plugin repository:
131
131
132
132
[source,groovy,indent=0,subs="normal"]
133
+
----
133
134
pluginManagement {
134
135
repositories {
135
136
gradlePluginPortal()
136
137
mavenCentral()
137
138
}
138
139
}
140
+
----
139
141
140
142
The plugin can then be added in the usual way in `build.gradle`:
141
143
142
144
[source,groovy,indent=0,subs="normal"]
143
145
----
144
146
plugins {
145
-
id "io.spring.javaformat" version "{release-version}""
147
+
id "io.spring.javaformat" version "{release-version}"
146
148
}
147
149
----
148
150
@@ -170,6 +172,7 @@ plugins {
170
172
id "io.spring.javaformat" version "{release-version}"
171
173
id "checkstyle"
172
174
}
175
+
----
173
176
174
177
The Spring Java Format plugin will react to the Checkstyle plugin being applied and configure the necessary dependencies in the `checkstyle` configuration.
0 commit comments