aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Mashkov <sergey.mashkov@jetbrains.com>2015-07-10 15:08:07 +0300
committerSergey Mashkov <sergey.mashkov@jetbrains.com>2015-07-13 17:57:40 +0300
commit526eb3bce36a582a3b4e9af002273b91ed6b1f63 (patch)
tree0c3b14955493fc0c4961a7776394597f544b9a05
parent6d1a526ae3cabd89565ff898f00f72f565efa36f (diff)
downloaddokka-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--.gitignore1
-rw-r--r--build.xml17
-rw-r--r--lib/maven-ant-tasks-2.1.3.jarbin0 -> 1316000 bytes
3 files changed, 18 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 182d9c77..eecbb95c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/.idea/workspace.xml
out
doc
+target
diff --git a/build.xml b/build.xml
index bd64db8a..f8d81fc9 100644
--- a/build.xml
+++ b/build.xml
@@ -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
new file mode 100644
index 00000000..bec446ff
--- /dev/null
+++ b/lib/maven-ant-tasks-2.1.3.jar
Binary files differ