Skip to content

Commit

Permalink
Update shadow plugin configuration for latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
sambsnyd committed Dec 18, 2024
1 parent 8a1698c commit fa8ff30
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public void apply(Project project) {
task.setEnabled(false));

project.getTasks().withType(ShadowJar.class, task -> {
task.setConfigurations(singletonList(project.getConfigurations().getByName("compileClasspath")));
task.getConfigurations().set(singletonList(project.getConfigurations().getByName("compileClasspath")));
task.getArchiveClassifier().set((String) null);
});
}
Expand Down

0 comments on commit fa8ff30

Please sign in to comment.