diff options
author | Sergey Mashkov <sergey.mashkov@jetbrains.com> | 2015-07-10 15:08:07 +0300 |
---|---|---|
committer | Sergey Mashkov <sergey.mashkov@jetbrains.com> | 2015-07-13 17:57:40 +0300 |
commit | 526eb3bce36a582a3b4e9af002273b91ed6b1f63 (patch) | |
tree | 0c3b14955493fc0c4961a7776394597f544b9a05 | |
parent | 6d1a526ae3cabd89565ff898f00f72f565efa36f (diff) | |
download | dokka-526eb3bce36a582a3b4e9af002273b91ed6b1f63.tar.gz dokka-526eb3bce36a582a3b4e9af002273b91ed6b1f63.tar.bz2 dokka-526eb3bce36a582a3b4e9af002273b91ed6b1f63.zip |
Build and install dokka fatjar to a local repository (to be used by maven)
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | build.xml | 17 | ||||
-rw-r--r-- | lib/maven-ant-tasks-2.1.3.jar | bin | 0 -> 1316000 bytes |
3 files changed, 18 insertions, 0 deletions
@@ -1,3 +1,4 @@ /.idea/workspace.xml out doc +target @@ -1,5 +1,7 @@ <project name="Dokka" default="build"> <typedef resource="org/jetbrains/kotlin/ant/antlib.xml" classpath="${kotlin.compiler}/lib/kotlin-ant.jar"/> + <typedef resource="org/apache/maven/artifact/ant/antlib.xml" classpath="${basedir}/lib/maven-ant-tasks-2.1.3.jar"/> + <property name="kotlinc.repeat" value="1"/> <target name="build"> @@ -29,4 +31,19 @@ </zipfileset> </jar> </target> + + <target name="install-fj" depends="fatjar"> + <pom id="stupidpom" + groupid="org.jetbrains.dokka" artifactid="dokka-fatjar" version="1.0" + name="Dokka fatjar" + packaging="jar" + /> + + <writepom pomrefid="stupidpom" file="out/dokka-fat.pom" /> + <pom id="mypom" file="out/dokka-fat.pom" /> + + <install file="out/dokka-fat.jar" pomrefid="mypom"> + <localrepository path="out/repo" /> + </install> + </target> </project> diff --git a/lib/maven-ant-tasks-2.1.3.jar b/lib/maven-ant-tasks-2.1.3.jar Binary files differnew file mode 100644 index 00000000..bec446ff --- /dev/null +++ b/lib/maven-ant-tasks-2.1.3.jar |