[ https://issues.apache.org/jira/browse/IGNITE-18280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17649599#comment-17649599 ]
Mikhail Pochatkin commented on IGNITE-18280: -------------------------------------------- LGTM > Declare proper dependencies in the packaging tasks > -------------------------------------------------- > > Key: IGNITE-18280 > URL: https://issues.apache.org/jira/browse/IGNITE-18280 > Project: Ignite > Issue Type: Improvement > Components: build > Reporter: Vadim Pakhnushev > Assignee: Vadim Pakhnushev > Priority: Major > Labels: ignite-3 > Time Spent: 0.5h > Remaining Estimate: 0h > > When running `prepareRelease` task, gradle complains about tasks using output > of other tasks without declaring a dependency. > {code:java} > > Task :packaging:signAllDistZip > Execution optimizations have been disabled for task > ':packaging:signAllDistZip' to ensure correctness due to the following > reasons: > - Gradle detected a problem with the following location: > 'C:\ignite-3\packaging\build\distributions\ignite3-3.0.0-SNAPSHOT.zip'. > Reason: Task ':packaging:signAllDistZip' uses this output of task > ':packaging:createChecksums' 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.5.1/userguide/validation_problems.html#implicit_dependency > for more details about this problem. > > Task :packaging:signAllSrcZip > Execution optimizations have been disabled for task > ':packaging:signAllSrcZip' to ensure correctness due to the following reasons: > - Gradle detected a problem with the following location: > 'C:\ignite-3\packaging\build\distributions\apache-ignite-3.0.0-SNAPSHOT-src.zip'. > Reason: Task ':packaging:signAllSrcZip' uses this output of task > ':packaging:createChecksums' without declaring an explicit or implicit > dependency... > > Task :packaging-cli:replacePostInstallScriptVars > Execution optimizations have been disabled for task > ':packaging-cli:replacePostInstallScriptVars' to ensure correctness due to > the following reasons: > - Gradle detected a problem with the following location: > 'C:\ignite-3\packaging\cli\build'. Reason: Task ':packaging-cli:distZip' uses > this output of task ':packaging-cli:replacePostInstallScriptVars' without > declaring an explicit or implicit dependency... > ... > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)