aboutsummaryrefslogtreecommitdiff
path: root/examples/gradle/dokka-versioning-multimodule-example/build.gradle.kts
blob: f95b65b535d8eda42f195803e42d3e6981d24665 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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")
    }
}