Follow up to: - https://github.com/gradlex-org/java-module-testing/pull/147 - https://github.com/gradlex-org/java-module-testing/issues/114 See if with https://github.com/gradle/gradle/issues/26732 (Gradle `9.4.0+`) we can make this work without `afterEvaluate`.