diff --git a/echosvg-all/build.gradle b/echosvg-all/build.gradle index 60da86b17..16976d298 100644 --- a/echosvg-all/build.gradle +++ b/echosvg-all/build.gradle @@ -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') + } } diff --git a/echosvg-slideshow/build.gradle b/echosvg-slideshow/build.gradle index 6605e898a..9bc53465e 100644 --- a/echosvg-slideshow/build.gradle +++ b/echosvg-slideshow/build.gradle @@ -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') + } +} diff --git a/echosvg-svgpp/build.gradle b/echosvg-svgpp/build.gradle index 69e803ef1..81259738b 100644 --- a/echosvg-svgpp/build.gradle +++ b/echosvg-svgpp/build.gradle @@ -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') + } +} diff --git a/echosvg-svgrasterizer/build.gradle b/echosvg-svgrasterizer/build.gradle index d76d620f3..4d012f5ea 100644 --- a/echosvg-svgrasterizer/build.gradle +++ b/echosvg-svgrasterizer/build.gradle @@ -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') + } +} diff --git a/echosvg-ttf2svg/build.gradle b/echosvg-ttf2svg/build.gradle index 0e0baa4aa..8ccff0306 100644 --- a/echosvg-ttf2svg/build.gradle +++ b/echosvg-ttf2svg/build.gradle @@ -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') + } +}