diff options
Diffstat (limited to 'examples/gradle/dokka-versioning-multimodule-example/parentProject/build.gradle.kts')
-rw-r--r-- | examples/gradle/dokka-versioning-multimodule-example/parentProject/build.gradle.kts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/gradle/dokka-versioning-multimodule-example/parentProject/build.gradle.kts b/examples/gradle/dokka-versioning-multimodule-example/parentProject/build.gradle.kts index 9bc8c991..afbc6675 100644 --- a/examples/gradle/dokka-versioning-multimodule-example/parentProject/build.gradle.kts +++ b/examples/gradle/dokka-versioning-multimodule-example/parentProject/build.gradle.kts @@ -13,7 +13,7 @@ val generatePreviouslyDocTask by tasks.register<DokkaMultiModuleTask>("dokkaPrev dokkaPlugin("org.jetbrains.dokka:versioning-plugin:1.7.10") } val configuredVersion = "0.9" - outputDirectory.set(file(projectDir.toPath().resolve(olderVersionsFolder).resolve(configuredVersion))) + outputDirectory.set(file(projectDir.resolve(olderVersionsFolder).resolve(configuredVersion))) pluginsMapConfiguration.set(mapOf("org.jetbrains.dokka.versioning.VersioningPlugin" to """{ "version": "$configuredVersion" }""")) addChildTasks(listOf(project("childProjectA"), project("childProjectB")), "dokkaHtmlPartial") } @@ -21,5 +21,5 @@ val generatePreviouslyDocTask by tasks.register<DokkaMultiModuleTask>("dokkaPrev tasks.dokkaHtmlMultiModule { dependsOn(generatePreviouslyDocTask) val configuredVersion = "1.0" - pluginsMapConfiguration.set(mapOf("org.jetbrains.dokka.versioning.VersioningPlugin" to """{ "version": "$configuredVersion", "olderVersionsDir": "$projectDir/$olderVersionsFolder" }""")) + pluginsMapConfiguration.set(mapOf("org.jetbrains.dokka.versioning.VersioningPlugin" to """{ "version": "$configuredVersion", "olderVersionsDir": "${projectDir.resolve(olderVersionsFolder).invariantSeparatorsPath}" }""")) } |