Skip to content

Commit 2f512ea

Browse files
committed
Fix readme
1 parent 4dddd32 commit 2f512ea

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,19 +130,21 @@ A plugin is provided.
130130
To use it, first update `settings.gradle` to add Maven Central as a plugin repository:
131131

132132
[source,groovy,indent=0,subs="normal"]
133+
----
133134
pluginManagement {
134135
repositories {
135136
gradlePluginPortal()
136137
mavenCentral()
137138
}
138139
}
140+
----
139141

140142
The plugin can then be added in the usual way in `build.gradle`:
141143

142144
[source,groovy,indent=0,subs="normal"]
143145
----
144146
plugins {
145-
id "io.spring.javaformat" version "{release-version}""
147+
id "io.spring.javaformat" version "{release-version}"
146148
}
147149
----
148150

@@ -170,6 +172,7 @@ plugins {
170172
id "io.spring.javaformat" version "{release-version}"
171173
id "checkstyle"
172174
}
175+
----
173176

174177
The Spring Java Format plugin will react to the Checkstyle plugin being applied and configure the necessary dependencies in the `checkstyle` configuration.
175178

0 commit comments

Comments
 (0)