5 Commits
Author SHA1 Message Date
Hyunwoo Jung fd1fd6d285 Avoid implicit property lookup in parent projects
Gradle 9.6 deprecated the implicit lookup of properties in parent
projects, which currently causes the build to emit deprecation
warnings and will become an error in Gradle 10.

The settings script for the gradle/plugins build sets properties
from the root gradle.properties file only on its root project. The
cycle-detection-plugin subproject then resolves javaFormatVersion
and checkstyleToolVersion by walking up to its parent, which
triggers the deprecation.

This commit uses GradleLifecycle#beforeProject rather than
Gradle#rootProject so that the properties are defined directly on
every project in the build. As an isolated action, it also avoids
carrying the settings script into each project's configuration,
which keeps the build friendlier to the configuration cache.

It also enables the NO_IMPLICIT_LOOKUP_IN_PARENT_PROJECTS feature
preview so that any reintroduction of the deprecated behavior fails
the build rather than only emitting a warning.

Signed-off-by: Hyunwoo Jung <hyunwoojung@kakao.com>

See gh-51625
2026-09-09 08:00:59 +01:00
Stéphane Nicoll 2245a79653 Harmonize checkstyle configuration
Closes gh-50921
2026-07-06 15:12:44 +02:00
Andy Wilkinson add52b6ccd Merge branch '3.5.x' into 4.0.x
Closes gh-50439
2026-05-14 15:02:24 +01:00
Phillip Webb decc32dde3 Restructure project directories to better fit Gradle
Closes gh-46358
2025-07-10 17:54:08 -07:00
Andy Wilkinson 7f9ee42df1 Add settings plugin to detect cycles between projects
Closes gh-46102
2025-07-01 11:55:44 +01:00