nastra opened a new pull request, #7969:
URL: https://github.com/apache/iceberg/pull/7969
Reverts apache/iceberg#7955
With Gradle 8.2 and when running `./gradlew clean build -x test -x
integrationTest`, this would fail with the below error:
```
FAILURE: Build failed with an exception.
* What went wrong:
A problem was found with the configuration of task
':iceberg-data:revapiAnalyze' (type 'RevapiAnalyzeTask').
- Gradle detected a problem with the following location:
'/home/nastra/Development/workspace/iceberg/common/build/libs/iceberg-common-1.4.0-SNAPSHOT.jar'.
Reason: Task ':iceberg-data:revapiAnalyze' uses this output of task
':iceberg-common:jar' without declaring an explicit or implicit dependency.
This can lead to incorrect results being produced, depending on what order the
tasks are executed.
Possible solutions:
1. Declare task ':iceberg-common:jar' as an input of
':iceberg-data:revapiAnalyze'.
2. Declare an explicit dependency on ':iceberg-common:jar' from
':iceberg-data:revapiAnalyze' using Task#dependsOn.
3. Declare an explicit dependency on ':iceberg-common:jar' from
':iceberg-data:revapiAnalyze' using Task#mustRunAfter.
For more information, please refer to
https://docs.gradle.org/8.2/userguide/validation_problems.html#implicit_dependency
in the Gradle documentation.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]