aboutsummaryrefslogtreecommitdiff
path: root/examples/gradle/dokka-versioning-multimodule-example/build.gradle.kts
blob: 8d6eb8f4ca3c397a7aae09d9159af68a153de2d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
plugins {
    kotlin("jvm") version "1.7.10"
    id("org.jetbrains.dokka") version ("1.7.10") apply false
}

// The versioning plugin should be applied in all submodules
subprojects {
    repositories {
        mavenCentral()
    }
    apply {
        plugin("org.jetbrains.kotlin.jvm")
        plugin("org.jetbrains.dokka")
    }
    val dokkaPlugin by configurations
    dependencies {
        dokkaPlugin("org.jetbrains.dokka:versioning-plugin:1.7.10")
    }
}