diff options
Diffstat (limited to 'examples/gradle/dokka-versioning-multimodule-example/build.gradle.kts')
-rw-r--r-- | examples/gradle/dokka-versioning-multimodule-example/build.gradle.kts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/gradle/dokka-versioning-multimodule-example/build.gradle.kts b/examples/gradle/dokka-versioning-multimodule-example/build.gradle.kts new file mode 100644 index 00000000..f95b65b5 --- /dev/null +++ b/examples/gradle/dokka-versioning-multimodule-example/build.gradle.kts @@ -0,0 +1,16 @@ +plugins { + kotlin("jvm") version "1.6.0" + id("org.jetbrains.dokka") version ("1.6.0") apply false +} + +// The versioning plugin should be applied in all submodules +subprojects { + apply { + plugin("org.jetbrains.kotlin.jvm") + plugin("org.jetbrains.dokka") + } + val dokkaPlugin by configurations + dependencies { + dokkaPlugin("org.jetbrains.dokka:versioning-plugin:1.6.0") + } +} |