diff options
author | sebastian.sellmair <sebastian.sellmair@jetbrains.com> | 2020-07-20 10:38:22 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-07-20 12:02:45 +0200 |
commit | fbed0982653cd20019fe3d56c6b4e5d7e7a72aad (patch) | |
tree | d3b703dab37df2d68563538b3613e801d1f1ae07 /runners/gradle-plugin/src/main/kotlin/org | |
parent | 68cba1e81a6bc971e0cd0be535232cc99756cd81 (diff) | |
download | dokka-fbed0982653cd20019fe3d56c6b4e5d7e7a72aad.tar.gz dokka-fbed0982653cd20019fe3d56c6b4e5d7e7a72aad.tar.bz2 dokka-fbed0982653cd20019fe3d56c6b4e5d7e7a72aad.zip |
Implement DokkaConfigurationSerializableTest
Diffstat (limited to 'runners/gradle-plugin/src/main/kotlin/org')
-rw-r--r-- | runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/configurationImplementations.kt | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/configurationImplementations.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/configurationImplementations.kt index 84f35cb4..bed73d6d 100644 --- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/configurationImplementations.kt +++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/configurationImplementations.kt @@ -17,7 +17,6 @@ import org.jetbrains.dokka.DokkaDefaults import org.jetbrains.dokka.DokkaSourceSetID import org.jetbrains.dokka.Platform import java.io.File -import java.io.Serializable import java.net.URL import java.util.concurrent.Callable import kotlin.reflect.KMutableProperty @@ -25,7 +24,7 @@ import kotlin.reflect.full.memberProperties import org.gradle.api.tasks.SourceSet as GradleSourceSet import org.jetbrains.kotlin.gradle.model.SourceSet as KotlinSourceSet -class GradleSourceRootImpl : SourceRoot, Serializable { +class GradleSourceRootImpl : SourceRoot { override var path: String = "" set(value) { field = File(value).absolutePath @@ -208,13 +207,13 @@ fun GradleDokkaSourceSet.dependsOn(sourceSet: AndroidSourceSet) { dependsOn(DokkaSourceSetID(sourceSet.name)) } -class GradleSourceLinkDefinitionImpl : SourceLinkDefinition, Serializable { +class GradleSourceLinkDefinitionImpl : SourceLinkDefinition { override var path: String = "" override var url: String = "" override var lineSuffix: String? = null } -class GradleExternalDocumentationLinkImpl : ExternalDocumentationLink, Serializable { +class GradleExternalDocumentationLinkImpl : ExternalDocumentationLink { override var url: URL = URL("http://") override var packageListUrl: URL = URL("http://") } @@ -236,7 +235,7 @@ class GradleDokkaConfigurationImpl : DokkaConfiguration { override var modules: List<GradleDokkaModuleDescription> = emptyList() } -class GradlePackageOptionsImpl : PackageOptions, Serializable { +class GradlePackageOptionsImpl : PackageOptions { override var prefix: String = "" override var includeNonPublic: Boolean = DokkaDefaults.includeNonPublic override var reportUndocumented: Boolean = DokkaDefaults.reportUndocumented |