From 334619d42d3c26379429ea8cdab13b28c87c159e Mon Sep 17 00:00:00 2001 From: "sebastian.sellmair" Date: Tue, 11 Aug 2020 14:10:37 +0200 Subject: Refine and test `GradleSourceLinkBuilder` and SourceLinkDefinition API --- core/src/main/kotlin/configuration.kt | 6 +++--- core/src/main/kotlin/defaultConfiguration.kt | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'core/src') diff --git a/core/src/main/kotlin/configuration.kt b/core/src/main/kotlin/configuration.kt index 0c877bd4..f0e77f09 100644 --- a/core/src/main/kotlin/configuration.kt +++ b/core/src/main/kotlin/configuration.kt @@ -109,9 +109,9 @@ interface DokkaConfiguration : Serializable { } interface SourceLinkDefinition : Serializable { - val path: String - val url: String - val lineSuffix: String? + val localDirectory: String + val remoteUrl: String + val remoteLineSuffix: String? } interface DokkaModuleDescription : Serializable { diff --git a/core/src/main/kotlin/defaultConfiguration.kt b/core/src/main/kotlin/defaultConfiguration.kt index ec461ffd..4f70cfbb 100644 --- a/core/src/main/kotlin/defaultConfiguration.kt +++ b/core/src/main/kotlin/defaultConfiguration.kt @@ -48,9 +48,9 @@ data class DokkaModuleDescriptionImpl( ) : DokkaConfiguration.DokkaModuleDescription data class SourceLinkDefinitionImpl( - override val path: String, - override val url: String, - override val lineSuffix: String? + override val localDirectory: String, + override val remoteUrl: String, + override val remoteLineSuffix: String? ) : DokkaConfiguration.SourceLinkDefinition { companion object { fun parseSourceLinkDefinition(srcLink: String): SourceLinkDefinitionImpl { -- cgit