diff options
author | Sergey Mashkov <sergey.mashkov@jetbrains.com> | 2015-07-09 20:42:33 +0300 |
---|---|---|
committer | Sergey Mashkov <sergey.mashkov@jetbrains.com> | 2015-07-09 20:42:33 +0300 |
commit | 9ca0eb17e70673444aa5352ace70fb1cd1b06621 (patch) | |
tree | ee21082ac0d2461c16780563261b1ba0f4f4a34c | |
parent | 3921ac60ee89bbd02444f85e8b8b52c7f77c6e27 (diff) | |
download | dokka-9ca0eb17e70673444aa5352ace70fb1cd1b06621.tar.gz dokka-9ca0eb17e70673444aa5352ace70fb1cd1b06621.tar.bz2 dokka-9ca0eb17e70673444aa5352ace70fb1cd1b06621.zip |
fatjar ant target to get complete dokka-fat.jar to be used in command-line and to be bundled with maven-plugin
-rw-r--r-- | build.xml | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -13,4 +13,20 @@ </classpath> </kotlinc> </target> + + <target name="fatjar" depends="build"> + <jar jarfile="out/dokka-fat.jar"> + <manifest> + <attribute name="Main-Class" value="org.jetbrains.dokka.DokkaPackage" /> + </manifest> + + <zipgroupfileset dir="lib"> + <include name="**/*.jar" /> + <include name="*.jar" /> + </zipgroupfileset> + <zipfileset src="out/dokka.jar"> + <include name="**/*" /> + </zipfileset> + </jar> + </target> </project> |