diff --git a/src/main/kotlin/com/github/imflog/schema/registry/tasks/download/DownloadSubjectExtension.kt b/src/main/kotlin/com/github/imflog/schema/registry/tasks/download/DownloadSubjectExtension.kt index 79d1ffe..50520be 100644 --- a/src/main/kotlin/com/github/imflog/schema/registry/tasks/download/DownloadSubjectExtension.kt +++ b/src/main/kotlin/com/github/imflog/schema/registry/tasks/download/DownloadSubjectExtension.kt @@ -3,6 +3,7 @@ package com.github.imflog.schema.registry.tasks.download import org.gradle.api.model.ObjectFactory import org.gradle.api.provider.ListProperty import org.gradle.api.provider.Property +import java.io.Serializable open class DownloadSubjectExtension(objects: ObjectFactory) { @@ -66,11 +67,11 @@ data class DownloadSubject( val regex: Boolean = false, val outputFileName: String? = null, val downloadReferences: Boolean = false -) +): Serializable data class MetadataExtension( val enabled: Boolean = false, val outputPath: String? = null -) { +): Serializable { constructor(enabled: Boolean) : this(enabled, null) }