diff options
-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> |