From 84f14212f46e1b1c4f2fa59db25bb1605354e0d7 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Sun, 5 Nov 2023 22:42:51 -0800 Subject: [PATCH] Added method to reset the Dokka plugins Added examples for generating documenation in HTML and markdown formats --- README.md | 8 ++- examples/.idea/misc.xml | 2 + examples/lib/bld/bld-wrapper.properties | 2 +- .../bld/java/com/example/ExampleBuild.java | 29 ++++++++++ .../CompileKotlinOperationBuild.java | 1 + .../bld/extension/dokka/DokkaOperation.java | 57 ++++++++++++------- .../extension/dokka/DokkaOperationTest.java | 8 +-- 7 files changed, 78 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 239a949..ae5a4db 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ To install, please refer to the [extensions documentation](https://github.com/rife2/bld/wiki/Extensions). ## Compile Kotlin Source Code + To compile the source code located in `src/main/kotlin` and `src/test/kotlin` from the current project: ```java @@ -26,6 +27,7 @@ public void compile() throws IOException { ```text ./bld compile ``` + - [View Examples Project](https://github.com/rife2/bld-kotlin/tree/main/examples/) Please check the [Compile Operation documentation](https://rife2.github.io/bld-kotlin/rife/bld/extension/CompileKotlinOperation.html#method-summary) @@ -43,10 +45,12 @@ public void javadoc() throws ExitStatusException, IOException, InterruptedExcept .execute(); } ``` -``` + +```text ./bld javadoc ``` + - [View Examples Project](https://github.com/rife2/bld-kotlin/tree/main/examples/) -Please check the [Dokka Operation documentation](https://rife2.github.io/bld-kotlin/rife/bld/extension/dokka/DokkaOperation.html) +Please check the [Dokka Operation documentation](https://rife2.github.io/bld-kotlin/rife/bld/extension/dokka/DokkaOperation.html#method-summary) for all available configuration options. diff --git a/examples/.idea/misc.xml b/examples/.idea/misc.xml index ba68603..87b25c5 100644 --- a/examples/.idea/misc.xml +++ b/examples/.idea/misc.xml @@ -3,6 +3,8 @@ + +