diff options
author | Sergey Mashkov <sergey.mashkov@jetbrains.com> | 2015-07-10 15:20:11 +0300 |
---|---|---|
committer | Sergey Mashkov <sergey.mashkov@jetbrains.com> | 2015-07-13 17:57:49 +0300 |
commit | 31bbbcca92a328a1142552dd305ac29c2df2a1fe (patch) | |
tree | 6c48e3f50e5184e58bd398763e75a431c60a334e | |
parent | 549ef194efc7a3eee948eac2da4ac36c2e47a6a1 (diff) | |
download | dokka-31bbbcca92a328a1142552dd305ac29c2df2a1fe.tar.gz dokka-31bbbcca92a328a1142552dd305ac29c2df2a1fe.tar.bz2 dokka-31bbbcca92a328a1142552dd305ac29c2df2a1fe.zip |
Building all by ant + doc
-rw-r--r-- | README.md | 21 | ||||
-rw-r--r-- | build.xml | 11 |
2 files changed, 32 insertions, 0 deletions
@@ -85,3 +85,24 @@ KDoc is a flavour of markdown with symbol processing extensions. * $name - link to `name` (Kotlin string interpolation style), or ${java.lang.String} for longer references * $name: - named section, optionally bound to symbol `name`, e.g. param doc * ${code reference} -- include content of a symbol denoted by reference, e.g. code example + +### Building + +Build only dokka + +```bash +ant fatjar +``` + +Build dokka and maven plugin + +```bash +ant install-fj +cd maven-plugin +mvn install +``` + +Build dokka and install maven plugin (do not require maven installed) +```bash +ant build-and-install +``` @@ -4,6 +4,11 @@ <property name="kotlinc.repeat" value="1"/> + <target name="clean"> + <delete dir="out" /> + <delete dir="maven-plugin/target" /> + </target> + <target name="build"> <mkdir dir="out"/> @@ -46,4 +51,10 @@ <localrepository path="out/repo" /> </install> </target> + + <target name="build-and-install" depends="install-fj"> + <mvn mavenversion="3.0.5" dir="maven-plugin" pom="maven-plugin/pom.xml"> + <arg value="install" /> + </mvn> + </target> </project> |