Version 0.9.8

This commit is contained in:
Erik C. Thauvin 2024-05-26 21:18:29 -07:00
parent 10fd25ebf6
commit 1bdbe86519
Signed by: erik
GPG key ID: 776702A6A2DA330E
4 changed files with 7 additions and 4 deletions

View file

@ -69,7 +69,7 @@ public class DokkaOperation extends AbstractProcessOperation<DokkaOperation> {
private static String encodeJson(final String json) {
var sb = new StringBuilder(json);
if (!json.startsWith("{") || !json.endsWith("}")) {
sb.insert(0, "{").append("}");
sb.insert(0, "{").append('}');
}
return StringUtils.encodeJson(sb.toString());
}
@ -489,6 +489,8 @@ public class DokkaOperation extends AbstractProcessOperation<DokkaOperation> {
/**
* Sets the output directory path, {@code ./dokka} by default.
* <p>
* The directory to where documentation is generated, regardless of output format.
*
* @param outputDir the output directory
* @return this operation instance