Skip to content

Commit

Permalink
Replace deprecated usage of AbstractArchiveTask.setClassifier
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulFridrick committed Oct 2, 2020
1 parent b0b48a5 commit 5bee47f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ private void configureJavaAndScalaSourceSet(Project project) {
private TaskProvider<Jar> createAssetsJarTask(Project project) {
TaskProvider<Jar> assetsJarTask = project.getTasks().register(ASSETS_JAR_TASK_NAME, Jar.class, jar -> {
jar.setDescription("Assembles the assets jar for the application.");
jar.setClassifier("assets");
jar.getArchiveClassifier().set("assets");
jar.from(project.file("public"), copySpec -> copySpec.into("public"));
});

Expand Down

0 comments on commit 5bee47f

Please sign in to comment.