From fc5496fb8bb888c3a50717260dc05d8fe2d54306 Mon Sep 17 00:00:00 2001 From: vmishenev Date: Wed, 1 Sep 2021 00:03:13 +0300 Subject: Improve versioning plugin (#2104) - support for single module projects - version navigator is on all pages - dropdown arrow for version navigator --- .../gradle/projects/it-multimodule-versioning-0/build.gradle | 3 +++ 1 file changed, 3 insertions(+) (limited to 'integration-tests/gradle/projects/it-multimodule-versioning-0') diff --git a/integration-tests/gradle/projects/it-multimodule-versioning-0/build.gradle b/integration-tests/gradle/projects/it-multimodule-versioning-0/build.gradle index bceacbca..e04e412b 100644 --- a/integration-tests/gradle/projects/it-multimodule-versioning-0/build.gradle +++ b/integration-tests/gradle/projects/it-multimodule-versioning-0/build.gradle @@ -9,6 +9,7 @@ apply from: '../template.root.gradle.kts' dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib" + dokkaPlugin "org.jetbrains.dokka:versioning-plugin:${System.getenv("DOKKA_VERSION")}" } @@ -24,6 +25,7 @@ dokkaHtmlMultiModule { tasks.register('dokkaHtmlMultiModuleBaseVersion', DokkaMultiModuleTask){ dependencies { dokkaPlugin("org.jetbrains.dokka:all-modules-page-plugin:${System.getenv("DOKKA_VERSION")}") + dokkaPlugin("org.jetbrains.dokka:versioning-plugin:${System.getenv("DOKKA_VERSION")}") } outputDirectory.set(file(projectDir.toPath().resolve("dokkas").resolve("1.0"))) pluginsMapConfiguration.set(["org.jetbrains.dokka.versioning.VersioningPlugin": """{ "version": "1.0" }"""]) @@ -33,6 +35,7 @@ tasks.register('dokkaHtmlMultiModuleBaseVersion', DokkaMultiModuleTask){ tasks.register('dokkaHtmlMultiModuleNextVersion', DokkaMultiModuleTask){ dependencies { dokkaPlugin("org.jetbrains.dokka:all-modules-page-plugin:${System.getenv("DOKKA_VERSION")}") + dokkaPlugin("org.jetbrains.dokka:versioning-plugin:${System.getenv("DOKKA_VERSION")}") } outputDirectory.set(file(projectDir.toPath().resolve("dokkas").resolve("1.1"))) pluginsMapConfiguration.set(["org.jetbrains.dokka.versioning.VersioningPlugin": """{ "version": "1.1", "olderVersionsDir": "$projectDir/dokkas" }"""]) -- cgit