diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/versioning/src/main/kotlin/versioning/VersioningConfiguration.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/versioning/src/main/kotlin/versioning/VersioningConfiguration.kt b/plugins/versioning/src/main/kotlin/versioning/VersioningConfiguration.kt index 98eef33d..e01f3419 100644 --- a/plugins/versioning/src/main/kotlin/versioning/VersioningConfiguration.kt +++ b/plugins/versioning/src/main/kotlin/versioning/VersioningConfiguration.kt @@ -9,7 +9,7 @@ data class VersioningConfiguration( var versionsOrdering: List<String>? = defaultVersionsOrdering, var version: String? = defaultVersion, ) : ConfigurableBlock { - fun versionFromConfigurationOrModule(dokkaContext: DokkaContext): String = + internal fun versionFromConfigurationOrModule(dokkaContext: DokkaContext): String = version ?: dokkaContext.configuration.moduleVersion ?: "1.0" companion object { |