Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions data-loader/cli/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ javadoc {

// Build a fat jar
shadowJar {
mustRunAfter distZip, distTar
Copy link

Copilot AI Jun 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 'mustRunAfter distZip, distTar' statement forces shadowJar to execute after distZip and distTar, which contradicts the intended dependency flow since these tasks depend on shadowJar's output. Consider instead having distZip, distTar, and startScripts declare an explicit dependency on shadowJar using 'dependsOn' to ensure the correct execution order.

Suggested change
mustRunAfter distZip, distTar

Copilot uses AI. Check for mistakes.
archiveClassifier.set("")
manifest {
attributes 'Main-Class': 'com.scalar.db.dataloader.DataLoaderCli'
Expand Down