Skip to content

Commit

Permalink
Fix Gradle Build Issue by Updating copyDistribution Task Configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
dariuszzbyrad committed Oct 19, 2024
1 parent c625648 commit 81308a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ plugins.withType(JavaPlugin).configureEach {

// Copy the Java modules, run script and JAR in the distribution directory
tasks.register("copyDistribution", Copy) {
from configurations.default
from configurations.runtimeClasspath
from tasks.named('jar')
from layout.projectDirectory.file('assets/run.sh')
into layout.buildDirectory.dir('distribution')
Expand Down

0 comments on commit 81308a7

Please sign in to comment.