aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Mashkov <sergey.mashkov@jetbrains.com>2015-07-09 20:42:33 +0300
committerSergey Mashkov <sergey.mashkov@jetbrains.com>2015-07-09 20:42:33 +0300
commit9ca0eb17e70673444aa5352ace70fb1cd1b06621 (patch)
treeee21082ac0d2461c16780563261b1ba0f4f4a34c
parent3921ac60ee89bbd02444f85e8b8b52c7f77c6e27 (diff)
downloaddokka-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.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index c5532e58..bd64db8a 100644
--- a/build.xml
+++ b/build.xml
@@ -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>