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
Simplify the PJF step using a compileOnly dependency
Support for non-default styles and alternative artifacts have
been dropped in favor simplicity.
If requested, we can add support for reflowing strings in the
future.
Copy file name to clipboardExpand all lines: lib/src/main/java/com/diffplug/spotless/java/PalantirJavaFormatStep.java
+17-95Lines changed: 17 additions & 95 deletions
Original file line number
Diff line number
Diff line change
@@ -16,36 +16,20 @@
16
16
packagecom.diffplug.spotless.java;
17
17
18
18
importjava.io.Serializable;
19
-
importjava.lang.reflect.Method;
19
+
importjava.lang.reflect.Constructor;
20
20
importjava.util.Objects;
21
21
22
22
importcom.diffplug.spotless.*;
23
-
importcom.diffplug.spotless.ThrowingEx.Function;
24
23
25
24
/** Wraps up <a href="https://github.com/palantir/palantir-java-format">palantir-java-format</a> fork of
26
25
* <a href="https://github.com/google/google-java-format">google-java-format</a> as a FormatterStep. */
Copy file name to clipboardExpand all lines: plugin-gradle/README.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -210,9 +210,8 @@ This is a workaround to a [pending issue](https://github.com/diffplug/spotless/i
210
210
spotless {
211
211
java {
212
212
palantirJavaFormat()
213
-
// optional: you can specify a specific version and/or switch to GOOGLE/AOSP style
214
-
// and/or use custom group artifact (you probably don't need this)
Copy file name to clipboardExpand all lines: plugin-maven/README.md
-3Lines changed: 0 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -230,9 +230,6 @@ This is a workaround to a [pending issue](https://github.com/diffplug/spotless/i
230
230
```xml
231
231
<palantirJavaFormat>
232
232
<version>2.10.0</version> <!-- optional -->
233
-
<style>PALANTIR</style> <!-- or AOSP/GOOGLE (optional) -->
234
-
<!-- optional: custom group artifact (you probably don't need this) -->
0 commit comments