https://github.com/spring-io/spring-javaformat/blob/adf3ecffd8909451af3d8415dbdf6b73b6c39d95/spring-javaformat-gradle/spring-javaformat-gradle-plugin/src/main/java/io/spring/javaformat/gradle/SpringJavaFormatPlugin.java#L59 The above raises a warning starting with Gradle 8.2 as conventions will be removed in Gradle 9. https://docs.gradle.org/8.2-rc-1/userguide/upgrading_version_8.html#deprecated_access_to_conventions