Spring Modulith's Change-Aware Test Execution already backs off when build resources change, as those changes can affect test selection independently from application source changes.
Gradle Kotlin DSL projects can express build behavior through additional build resources such as:
gradle/libs.versions.toml
gradle/wrapper/gradle-wrapper.properties
buildSrc/**
build-logic/**
- convention scripts such as
*.gradle.kts
Those files should be treated as build resources as well, so that JUnit change detection conservatively falls back to full test execution when build configuration or custom build logic changes.
Kotlin application sources such as src/main/kotlin/** and src/test/kotlin/** should continue to be classified as source changes.
Spring Modulith's Change-Aware Test Execution already backs off when build resources change, as those changes can affect test selection independently from application source changes.
Gradle Kotlin DSL projects can express build behavior through additional build resources such as:
gradle/libs.versions.tomlgradle/wrapper/gradle-wrapper.propertiesbuildSrc/**build-logic/***.gradle.ktsThose files should be treated as build resources as well, so that JUnit change detection conservatively falls back to full test execution when build configuration or custom build logic changes.
Kotlin application sources such as
src/main/kotlin/**andsrc/test/kotlin/**should continue to be classified as source changes.