Skip to content

GH-1699 - Add Gradle build resources to JUnit change detection#1700

Open
char-yb wants to merge 2 commits into
spring-projects:mainfrom
char-yb:GA-1699-detect-kotlin-dsl-build-resources
Open

GH-1699 - Add Gradle build resources to JUnit change detection#1700
char-yb wants to merge 2 commits into
spring-projects:mainfrom
char-yb:GA-1699-detect-kotlin-dsl-build-resources

Conversation

@char-yb
Copy link
Copy Markdown

@char-yb char-yb commented May 19, 2026

Adds additional Gradle build resources to the JUnit change detection fallback used by Change-Aware Test Execution.

Changes to build configuration, build metadata, or custom build logic can affect test execution even when no application source file changed. The current detection already backs off for selected build files. This PR broadens that detection to cover common Gradle build resources more consistently.

Key changes:

  • Add internal BuildResourceChangeDetector for build-resource path matching
  • Detect Gradle scripts, version catalogs, wrapper configuration, buildSrc, and build-logic changes
  • Keep application Kotlin source files classified as source changes
  • Document the broader Gradle build-resource fallback behavior

The detection remains version-agnostic by matching repository-relative file roles instead of Kotlin or Gradle version strings.

char-yb added 2 commits May 19, 2026 21:55
…ction

Signed-off-by: char-yb <uiurihappy@naver.com>
Signed-off-by: char-yb <uiurihappy@naver.com>
@char-yb char-yb changed the title GH-1699 - Add Gradle Kotlin DSL build resources to JUnit change detection GH-1699 - Add Gradle build resources to JUnit change detection May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant