@@ -154,7 +154,7 @@ or apply the formatting to the files.
154154Available formatting steps:
155155 clang-format Runs clang-format
156156 clean-that CleanThat enables automatic refactoring of Java code.
157- eclipse-wtp Runs Eclipse WTP formatter (4.21.0)
157+ eclipse-wtp Runs Eclipse WTP formatter.
158158 format-annotations Corrects line break formatting of type annotations in
159159 java files.
160160 google-java-format Runs google java format
@@ -309,18 +309,6 @@ spotless --target '**/src/**/*.java' clean-that --exclude-mutator=StreamAnyMatch
309309
310310### eclipse-wtp
311311
312- <!-- -freshmark eclipsewtpshields
313- output = [
314- link(shield('spotless eclipse wtp version', 'spotless-eclipse-wtp', '{{libs.versions.native.include.spotlessEclipseWtp}}', 'blue'), 'https://central.sonatype.com/artifact/com.diffplug.spotless/spotless-eclipse-wtp/{{libs.versions.native.include.spotlessEclipseWtp}}'),
315- link(shield('eclipse wtp version', 'eclipse-wtp-formatter', '{{libs.versions.native.include.spotlessEclipseWtpFormatter}}', 'blue'), 'https://github.com/diffplug/spotless/blob/main/lib-extra/src/main/resources/com/diffplug/spotless/extra/eclipse_wtp_formatter/v{{libs.versions.native.include.spotlessEclipseWtpFormatter}}'),
316- ].join('\n')
317- -->
318-
319- [ ![ spotless eclipse wtp version] ( https://img.shields.io/badge/spotless--eclipse--wtp-3.23.0-blue.svg )] ( https://central.sonatype.com/artifact/com.diffplug.spotless/spotless-eclipse-wtp/3.23.0 )
320- [ ![ eclipse wtp version] ( https://img.shields.io/badge/eclipse--wtp--formatter-4.21.0-blue.svg )] ( https://github.com/diffplug/spotless/blob/main/lib-extra/src/main/resources/com/diffplug/spotless/extra/eclipse_wtp_formatter/v4.21.0 )
321-
322- <!-- -freshmark /eclipsewtpshields -->
323-
324312The [ eclipse web tools platform (WTP)] ( https://projects.eclipse.org/projects/webtools ) formatter is a formatter for web files such as HTML, CSS, JavaScript, JSON, XML and XHTML.
325313
326314It comes with reasonable defaults but can be configured using configuration files. For details see the [ spotless documentation] ( https://github.com/diffplug/spotless/tree/main/plugin-gradle#eclipse-web-tools-platform ) .
@@ -335,8 +323,8 @@ output =
335323-->
336324
337325```
338- Usage: spotless eclipse-wtp [-hV] [-f]... [-t=<type>]
339- Runs Eclipse WTP formatter (4.21.0)
326+ Usage: spotless eclipse-wtp [-hV] [-f]... [-t=<type>] [-v=<useVersion>]
327+ Runs Eclipse WTP formatter.
340328 -f, --config-file The path to the Eclipse WTP configuration file. For
341329 supported config file options see spotless
342330 documentation (additional info links).
@@ -346,6 +334,9 @@ Runs Eclipse WTP formatter (4.21.0)
346334 we find. If that does not work, we fail the formatting
347335 run.
348336 One of: CSS, HTML, JS, JSON, XML, XHTML
337+ -v, --use-version=<useVersion>
338+ The version of Eclipse WTP formatter to use.
339+ (default: 4.21.0)
349340 -V, --version Print version information and exit.
350341
351342✅ This step supports the following file types:
0 commit comments