Closed TWiStErRob closed 9 months ago
gradlew build --rerun-tasks --configuration-cache
on BLT e0fbd5e949b548812beacd9b6bf84ef86543a64d
* What went wrong:
Configuration cache problems found in this build.
6 problems were found storing the configuration cache, 3 of which seem unique.
- Plugin class 'net.twisterrob.gradle.android.AndroidVersionPlugin': external process started 'P:\tools\vcs\git\bin\git.exe --version'
See https://docs.gradle.org/8.2.1/userguide/configuration_cache.html#config_cache:requirements:external_processes
- Plugin class 'net.twisterrob.gradle.android.AndroidVersionPlugin': external process started 'P:\tools\vcs\git\bin\git.exe config --system --show-origin --list -z'
See https://docs.gradle.org/8.2.1/userguide/configuration_cache.html#config_cache:requirements:external_processes
- Task `:Android:calculateBuildConfigVCSRevisionInfo` of type `net.twisterrob.gradle.android.tasks.CalculateVCSRevisionInfoTask`: invocation of 'Task.project' at execution time is unsupported.
See https://docs.gradle.org/8.2.1/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
See the complete report at file:///P:/projects/workspace/net.twisterrob.travel/build/reports/configuration-cache/da9a041wx8qmie0twfslu1yqi/c5wz1t5wt6izr3yq6wci1mt8j/configuration-cache-report.html
> Starting an external process 'P:\tools\vcs\git\bin\git.exe --version' during configuration time is unsupported.
> Starting an external process 'P:\tools\vcs\git\bin\git.exe config --system --show-origin --list -z' during configuration time is unsupported.
> Invocation of 'Task.project' by task ':Android:calculateBuildConfigVCSRevisionInfo' at execution time is unsupported.
Same problem and solution: https://discuss.gradle.org/t/using-jgit-with-gradle-configuration-cache/45410
gradlew
on Inventory:
* What went wrong:
Configuration cache problems found in this build.
2 problems were found storing the configuration cache.
- Plugin class 'net.twisterrob.gradle.android.AndroidVersionPlugin': external process started 'P:\tools\vcs\git\bin\git.exe --version'
See https://docs.gradle.org/8.2.1/userguide/configuration_cache.html#config_cache:requirements:external_processes
- Plugin class 'net.twisterrob.gradle.android.AndroidVersionPlugin': external process started 'P:\tools\vcs\git\bin\git.exe config --system --show-origin --list -z'
See https://docs.gradle.org/8.2.1/userguide/configuration_cache.html#config_cache:requirements:external_processes
See the complete report at file:///P:/projects/workspace/net.twisterrob.inventory/build/reports/configuration-cache/99r5mkyrgexbclzvyor0xwldv/9y1w7dbbpyyzzx59spqiirgu0/configuration-cache-report.html
> Starting an external process 'P:\tools\vcs\git\bin\git.exe --version' during configuration time is unsupported.
> Starting an external process 'P:\tools\vcs\git\bin\git.exe config --system --show-origin --list -z' during configuration time is unsupported.
Run
AndroidVersionPluginIntgTest#build version is used from GIT revision number (release)
with configuration cache on.test.zip