spotless configuration crash when using convention plugins combined with settings plugins.
- Lingua principale
- Java
- Stelle
- 5.6k
- Fork
- 559
- Merge medio
- 1g 13h
- PR unite (30g)
- 34
Descrizione
- Gradle 8.0.2
- Spotless 6.17.0
Stacktrace:
```
* What went wrong:
A problem occurred configuring root project 'foo'.
> Could not resolve all files for configuration ':spotless1316845977'.
> Cannot resolve external dependency com.facebook:ktfmt:0.43 because no repositories are defined.
Required by:
project :
```
If a convention plugin applies Spotless on the root project and this convention plugin is applied via a settings plugin, I got this crash.
I think there is a warning from Gradle about resolving this configuration in the configuration phase instead of lazily too.
In the root project, it is used `predeclareDepsFromBuildscript()`
If I apply the convention plugin directly instead of being applied by the settings plugin this is not happening.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.