diffplug / diffplug/spotless

`predeclareDepsFromBuildscript` - Mutating configuration container for buildscript of root project has been deprecated.

Open
#2,394 6 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
5.6k
Forks
559
Avg merge
1d 13h
Merged PRs (30d)
34

Description

Summary:
Gradle shows a deprecation warning when Spotless is used in a multi-module build with:
```
spotless {
predeclareDepsFromBuildscript()
}
```
Warning:
Mutating configuration container for buildscript of root project 'xy' using create(String) has been deprecated.
This will fail with an error in Gradle 9.0.

Gradle: 8.12
Spotless: 7.0.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.