Skip to content

Commit

Permalink
Follow-up to ce82f20: add descriptions to fat-jar tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosame committed Jul 10, 2024
1 parent 88e39cf commit ef2b654
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions buildSrc/src/main/groovy/echosvg.java-conventions.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ jar.dependsOn checkLegacyJava

//create a project Jar with all dependencies
tasks.register("${project.name}-jar-with-deps", Jar) {
description = "Create a ${project.name} fat jar with all dependencies."

group = 'Fat jar'

archiveClassifier = 'with-deps'

dependsOn configurations.compileClasspath
Expand Down
4 changes: 4 additions & 0 deletions echosvg-all/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,10 @@ tasks.register('modularJavadoc', Javadoc) {

//create a single Jar with all dependencies
tasks.register('uberjar', Jar) {
description = 'Create a single Uber Jar with all modules and dependencies.'

group = 'Fat jar'

archiveClassifier = "alldeps"

dependsOn configurations.compileClasspath
Expand Down

0 comments on commit ef2b654

Please sign in to comment.