Commit bef5e73
committed
Exclude ktlint configurations from strict version conflict checking
The `ktlint` plugin (v14.1.0) introduces internal version conflicts between
transitive dependencies (e.g., `sarif4k` 0.5.0 vs 0.6.0 and `kotlin-logging`
5.1.0 vs 7.0.3) when resolving its reporter and tool configurations.
Since these conflicts are internal to the linting tool and do not affect
the project's production runtime, this change bypasses the global
`failOnVersionConflict()` strategy for any configuration starting with 'ktlint'.
This allows Gradle's default conflict resolution to pick a functional version
and fixes the `loadKtlintReporters` task failure.
Signed-off-by: Junie <junie@jetbrains.com>1 parent 1838106 commit bef5e73
1 file changed
Lines changed: 9 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
0 commit comments