[
https://issues.apache.org/jira/browse/CALCITE-4851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17429241#comment-17429241
]
duan xiong commented on CALCITE-4851:
-------------------------------------
According
[gradle-7.0.1-release|https://docs.gradle.org/7.0.1/release-notes.html#build-reliability]
:
{noformat}
Disable optimizations for validation problems{noformat}
{noformat}
Validate missing dependencies between tasks
{noformat}
We can know this warning was caused by upgrade the Gradle version to 7.2.
> Lots of warnings about Execution optimizations have been disabled when build
> CALCITE
> ------------------------------------------------------------------------------------
>
> Key: CALCITE-4851
> URL: https://issues.apache.org/jira/browse/CALCITE-4851
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Affects Versions: 1.27.0
> Environment: MacOS
> Gradle 7.2
> Jdk 11
> Reporter: duan xiong
> Priority: Major
>
> Lots of warnings about Execution optimizations have been disabled when build
> CALCITE. For example:
> {noformat}
> Execution optimizations have been disabled for task ':babel:sourcesJar' to
> ensure correctness due to the following reasons:
> - Gradle detected a problem with the following location:
> '/calcite/babel/build/javacc/javaCCMain'.
> Reason: Task ':babel:sourcesJar' uses this output of task ':babel:javaCCMain'
> without declaring an explicit or implicit dependency.
> This can lead to incorrect results being produced, depending on what order
> the tasks are executed. Please refer to
> https://docs.gradle.org/7.2/userguide/validation_problems.html#implicit_dependency
> for more details about this problem.{noformat}
> and
> {noformat}
> Gradle detected a problem with the following location: '/calcite'. Reason:
> Task ':gitProps' uses this output of task ':babel:checkstyleTest' without
> declaring an explicit or implicit dependency.
> This can lead to incorrect results being produced, depending on what order
> the tasks are executed. Please refer to
> https://docs.gradle.org/7.2/userguide/validation_problems.html#implicit_dependency
> for more details about this problem.{noformat}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)