aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/DokkaVersion.kt
blob: 58dd0310c90bda075704427bdff15c8566490301 (plain)
1
2
3
4
5
6
7
8
9
10
11
package org.jetbrains.dokka

import java.util.*

object DokkaVersion {
    val version: String by lazy {
        javaClass.getResourceAsStream("/META-INF/dokka/dokka-version.properties").use { stream ->
            Properties().apply { load(stream) }.getProperty("dokka-version")
        }
    }
}