https://github.com/alikhachev/excluded-tasks-configuration-cache-repro
https://github.com/alikhachev/excluded-tasks-configuration-cache-repro
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/alikhachev/excluded-tasks-configuration-cache-repro
- Owner: ALikhachev
- Created: 2023-02-13T20:58:53.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-13T20:59:45.000Z (over 3 years ago)
- Last Synced: 2025-02-27T15:44:43.858Z (over 1 year ago)
- Language: Kotlin
- Size: 60.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Reproducer for a Gradle bug in excluding tasks with configuration cache
Execute `./gradlew help` twice
It works fine
Execute `./gradlew help -DshouldFail=true` twice
It fails on the first build, but stores configuration entry and then successfully reuses it on the second
The `shouldFail` system property adds `:lib:jar` to `gradle.startParameter.excludedTaskNames`