Repository navigation
Commit 866673b
committed
Replace palantir's Gradle plugins with plain Gradle
The build no longer applies anything from palantir's Gradle tooling.
What it used to get from there is now written out in two buildSrc
convention plugins, or comes from the plain upstream plugins:
- open-java-format.error-prone-conventions runs Error Prone 2.50.0
through net.ltgt.errorprone and net.ltgt.nullaway, with NullAway and
Picnic's error-prone-support, in place of baseline-error-prone,
baseline-null-away, suppressible-error-prone and gradle-guide, which
applied suppressible-error-prone itself. The checks vfs-s3 makes
build-breaking are listed there, commented out until the code is
fixed.
- open-java-format.java-conventions sets what gradle-baseline-java did:
the Java 21 toolchain, tests on -PjavaRuntime, the JUnit wiring, the
javac flags and Checkstyle. The IntelliJ Platform plugin defaults
javac to --release, which javac refuses alongside the --add-exports
of jdk.compiler; baseline hid that, and the IDEA plugin's build now
unsets it.
- Checkstyle's configuration moves from .baseline/checkstyle to
Gradle's default config/checkstyle and runs on Checkstyle 14.3.0,
without JavadocStyle, which Checkstyle 13.9.0 removed.
custom-suppressions.xml still suppresses every check, as upstream.
- The released dev.openjavaformat.java-format 2.98.0.5 formats the
repository instead of com.palantir.java-format, which needed Spotless
on the classpath once baseline no longer brought it.
- The version comes from git describe, the same command
gradle-git-version ran. failure-reports, idea-language-injector and
jakarta-package-alignment go without replacement, and so do the
configuration files of palantir's bots: bulldozer, changelog,
excavator and revapi.1 parent b48a838 commit 866673b
21 files changed
Lines changed: 186 additions & 172 deletions
File tree
- .palantir
- buildSrc
- src/main/groovy
- config/checkstyle
- gradle-open-java-format
- src/test/java/com/palantir/javaformat/gradle
- gradle
- open-java-format-benchmarks
- open-java-format-idea-plugin
- open-java-format-jdk-bootstrap
- open-java-format-spi
- open-java-format
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | | - | |
10 | 8 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 9 | + | |
| 10 | + | |
20 | 11 | | |
21 | 12 | | |
22 | 13 | | |
23 | 14 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | 15 | | |
36 | 16 | | |
37 | 17 | | |
38 | 18 | | |
39 | | - | |
| 19 | + | |
| 20 | + | |
40 | 21 | | |
41 | 22 | | |
42 | 23 | | |
43 | 24 | | |
44 | 25 | | |
45 | 26 | | |
46 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
47 | 31 | | |
48 | 32 | | |
49 | 33 | | |
50 | 34 | | |
51 | 35 | | |
52 | 36 | | |
53 | 37 | | |
54 | | - | |
55 | | - | |
56 | | - | |
| 38 | + | |
57 | 39 | | |
58 | 40 | | |
59 | 41 | | |
| |||
65 | 47 | | |
66 | 48 | | |
67 | 49 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
| 50 | + | |
| 51 | + | |
80 | 52 | | |
81 | 53 | | |
82 | 54 | | |
| |||
95 | 67 | | |
96 | 68 | | |
97 | 69 | | |
98 | | - | |
99 | | - | |
| 70 | + | |
| 71 | + | |
100 | 72 | | |
101 | 73 | | |
102 | 74 | | |
| |||
108 | 80 | | |
109 | 81 | | |
110 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
111 | 86 | | |
112 | 87 | | |
113 | | - | |
| 88 | + | |
114 | 89 | | |
115 | 90 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | 91 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
Lines changed: 53 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
Lines changed: 67 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | 2 | | |
5 | 3 | | |
| |||
61 | 59 | | |
62 | 60 | | |
63 | 61 | | |
| 62 | + | |
64 | 63 | | |
65 | 64 | | |
66 | 65 | | |
| |||
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 20 | | |
24 | 21 | | |
25 | 22 | | |
| |||
0 commit comments