Skip to content

Commit

Permalink
Make DownloadSubject and MetadataExtension serializable
Browse files Browse the repository at this point in the history
  • Loading branch information
filipblondeel committed Jun 12, 2024
1 parent 8c0c31a commit 038578c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {

Expand Down Expand Up @@ -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)
}

0 comments on commit 038578c

Please sign in to comment.