Commit d9b6a35
committed
build(format): disable Groovy-Eclipse formatter to fix CI serialization failure
Spotless' greclipse() step hits a known Spotless/Gradle bug when its internal
state is fingerprinted for the build cache on fresh CI caches:
If the initializer was null, then one of roundtripStateInternal or
equalityStateInternal should be non-null, and neither was
Replacing greclipse() with basic whitespace steps (leadingTabsToSpaces,
trimTrailingWhitespace, endWithNewline) avoids the problematic Eclipse P2
serialization path while still keeping .gradle files tidy.
Also adds the missing trailing newline to gradle/semantic-version.gradle.
See: diffplug/spotless#24021 parent 8722598 commit d9b6a35
3 files changed
Lines changed: 12 additions & 9 deletions
File tree
- build-logic/conventions
- src/main/kotlin/com/datadoghq/profiler
- gradle
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 16 | + | |
22 | 17 | | |
23 | 18 | | |
24 | 19 | | |
| |||
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
33 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
| |||
54 | 59 | | |
55 | 60 | | |
56 | 61 | | |
57 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
58 | 66 | | |
59 | 67 | | |
60 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments