Repository navigation
Commit 83720db
committed
Give formatDiff the formatter of its own project
With the Java-based formatter, formatDiff's classpath was the root
project's palantirJavaFormat, which a subproject's task cannot resolve
in a parallel build. It now takes openJavaFormatFormatterClasspath, as
the Spotless step does, resolved in the project the task belongs to.
The native image is left as it was: formatDiff already runs it in
parallel builds, this repository's among them.1 parent 87a1f36 commit 83720db
1 file changed
Lines changed: 2 additions & 6 deletions
File tree
- gradle-open-java-format/src/main/groovy/com/palantir/javaformat/gradle
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | 70 | | |
75 | 71 | | |
76 | 72 | | |
| |||
0 commit comments