aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Jemerov <intelliyole@gmail.com>2015-07-09 19:49:28 +0200
committerDmitry Jemerov <intelliyole@gmail.com>2015-07-09 19:49:28 +0200
commit6d1a526ae3cabd89565ff898f00f72f565efa36f (patch)
treec14d45bfa2dca2f19544fdd53de96d90ab6ee4f6
parent68caff40cfce97bba23f505ec7db33a0d406e709 (diff)
parent9ca0eb17e70673444aa5352ace70fb1cd1b06621 (diff)
downloaddokka-6d1a526ae3cabd89565ff898f00f72f565efa36f.tar.gz
dokka-6d1a526ae3cabd89565ff898f00f72f565efa36f.tar.bz2
dokka-6d1a526ae3cabd89565ff898f00f72f565efa36f.zip
Merge pull request #27 from cy6erGn0m/maven-plugin
fatjar ant target to get complete dokka-fat.jar
-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>