Skip to content

Commit

Permalink
Remove Serializable from OciImages/Image/VariantInput
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtSilvio committed Jul 11, 2024
1 parent b64769e commit 00b6b5a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ import java.io.Serializable
class OciImagesInput(
@get:Nested val variantInputs: List<OciVariantInput>,
@get:Nested val imageInputs: List<OciImageInput>,
) : Serializable
)

class OciVariantInput(
@get:InputFile @get:PathSensitive(PathSensitivity.NONE) val metadataFile: File,
@get:InputFiles @get:PathSensitive(PathSensitivity.NONE) val layerFiles: List<File>,
) : Serializable
)

class OciImageInput(
@get:Input val platform: Platform,
@get:Input val variantIndices: List<Int>, // TODO document must not be empty
@get:Input val referenceSpecs: Set<OciImageReferenceSpec>,
) : Serializable
)

data class OciImageReferenceSpec(val name: String?, val tag: String?) : Serializable {
override fun toString() = (name ?: "") + ":" + (tag ?: "")
Expand Down

0 comments on commit 00b6b5a

Please sign in to comment.