diff --git a/src/main/kotlin/io/github/sgtsilvio/gradle/oci/OciImagesInput.kt b/src/main/kotlin/io/github/sgtsilvio/gradle/oci/OciImagesInput.kt index 63c221b6..0665208c 100644 --- a/src/main/kotlin/io/github/sgtsilvio/gradle/oci/OciImagesInput.kt +++ b/src/main/kotlin/io/github/sgtsilvio/gradle/oci/OciImagesInput.kt @@ -16,18 +16,18 @@ import java.io.Serializable class OciImagesInput( @get:Nested val variantInputs: List, @get:Nested val imageInputs: List, -) : Serializable +) class OciVariantInput( @get:InputFile @get:PathSensitive(PathSensitivity.NONE) val metadataFile: File, @get:InputFiles @get:PathSensitive(PathSensitivity.NONE) val layerFiles: List, -) : Serializable +) class OciImageInput( @get:Input val platform: Platform, @get:Input val variantIndices: List, // TODO document must not be empty @get:Input val referenceSpecs: Set, -) : Serializable +) data class OciImageReferenceSpec(val name: String?, val tag: String?) : Serializable { override fun toString() = (name ?: "") + ":" + (tag ?: "")