Skip to content

Commit

Permalink
Distribution: add a Main-Class attribute to a few manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosame committed Nov 25, 2023
1 parent bd1afe7 commit 393bd68
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 0 deletions.
3 changes: 3 additions & 0 deletions echosvg-all/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -262,4 +262,7 @@ tasks.register('uberjar', Jar) {
duplicatesStrategy = 'exclude'
exclude 'javax/**'
exclude 'org/w3c/css/**'
manifest {
attributes('Main-Class': 'io.sf.echosvg.apps.rasterizer.Main')
}
}
6 changes: 6 additions & 0 deletions echosvg-slideshow/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@ description = 'io.sf.carte:echosvg-slideshow'
publishing.publications.maven(MavenPublication).pom {
description = "EchoSVG SVG Slideshow Application"
}

jar {
manifest {
attributes('Main-Class': 'io.sf.echosvg.apps.slideshow.Main')
}
}
6 changes: 6 additions & 0 deletions echosvg-svgpp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@ description = 'io.sf.carte:echosvg-svgpp'
publishing.publications.maven(MavenPublication).pom {
description = "EchoSVG SVG Pretty Printer Application"
}

jar {
manifest {
attributes('Main-Class': 'io.sf.echosvg.apps.svgpp.Main')
}
}
6 changes: 6 additions & 0 deletions echosvg-svgrasterizer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@ description = 'io.sf.carte:echosvg-svgrasterizer'
publishing.publications.maven(MavenPublication).pom {
description = "EchoSVG SVG Rasterizer Library"
}

jar {
manifest {
attributes('Main-Class': 'io.sf.echosvg.apps.rasterizer.Main')
}
}
6 changes: 6 additions & 0 deletions echosvg-ttf2svg/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@ description = 'io.sf.carte:echosvg-ttf2svg'
publishing.publications.maven(MavenPublication).pom {
description = "EchoSVG Truetype Font to SVG Font Converter Application"
}

jar {
manifest {
attributes('Main-Class': 'io.sf.echosvg.apps.ttf2svg.Main')
}
}

0 comments on commit 393bd68

Please sign in to comment.