[
https://issues.apache.org/jira/browse/KAFKA-21327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dejan Stojadinović updated KAFKA-21327:
---------------------------------------
Description:
*(x) Pitfall (in case when Gradle configuration cache is enabled):*
* {{build.gradle}} opens the repository with JGit at configuration time (to
compute the {{commit id}} and the {{RAT excludes)}}
* With the configuration cache enabled, Git.open starts external processes
({{{}git --version{}}}, {{{}git config --system ...{}}}) that Gradle cannot
track, so it reports configuration cache problems and fails the build by
default.
was:
*(x) Pitfall (in case when Gradle configuration cache is enabled):*
* {{build.gradle}} opens the repository with JGit at configuration time to
compute the {{commit id}} and the {{RAT excludes}}
* With the configuration cache enabled, Git.open starts external processes
({{{}git --version{}}}, {{{}git config --system ...{}}}) that Gradle cannot
track, so it reports configuration cache problems and fails the build by
default.
> Replace JGit calls in build.gradle with the git CLI via providers.exec
> ----------------------------------------------------------------------
>
> Key: KAFKA-21327
> URL: https://issues.apache.org/jira/browse/KAFKA-21327
> Project: Kafka
> Issue Type: Sub-task
> Components: build
> Reporter: Dejan Stojadinović
> Assignee: Dejan Stojadinović
> Priority: Minor
> Labels: Gradle, gradle
>
> *(x) Pitfall (in case when Gradle configuration cache is enabled):*
> * {{build.gradle}} opens the repository with JGit at configuration time (to
> compute the {{commit id}} and the {{RAT excludes)}}
> * With the configuration cache enabled, Git.open starts external processes
> ({{{}git --version{}}}, {{{}git config --system ...{}}}) that Gradle cannot
> track, so it reports configuration cache problems and fails the build by
> default.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)