From bee9d82372395936dc4585709688f14368ec892c Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Mon, 11 May 2020 23:24:26 +0600 Subject: [PATCH] update folder of dokka --- docs/build.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/build.gradle b/docs/build.gradle index 1f1541124b..9891b52b63 100644 --- a/docs/build.gradle +++ b/docs/build.gradle @@ -63,9 +63,13 @@ private Closure includeSourcesInDokka(String... approximateNames) { } } +String dokkaFolder = "$projectDir/dokka" + dokka { + (new File(dokkaFolder)).deleteDir() + outputFormat = 'html' - outputDirectory = "$buildDir/dokka" + outputDirectory = dokkaFolder multiplatform { global {