Commit eb85805
committed
fix: ensure developmentOnly configuration exists with BOM platform
The Spring Dependency Management plugin previously applied BOM version
constraints globally across all configurations. With the switch to
Gradle's native platform(), only configurations that explicitly receive
the platform dependency get managed versions.
Use maybeCreate to guarantee the developmentOnly configuration always
exists, even if plugin ordering changes or Spring Boot is not applied,
and add the grails-bom platform to it so dependencies like
spring-boot-devtools can be declared without a version.
Assisted-by: Claude Code <Claude@Claude.ai>1 parent 531041b commit eb85805
1 file changed
Lines changed: 8 additions & 0 deletions
File tree
- grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
389 | 397 | | |
390 | 398 | | |
391 | 399 | | |
| |||
0 commit comments