Skip to content

Commit

Permalink
Fix DockerLayerTask constructor injection
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtSilvio committed Dec 12, 2024
1 parent 5672a6b commit 2f07f28
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ import java.io.ByteArrayInputStream
import java.io.FileInputStream
import java.nio.file.attribute.FileTime
import java.util.*
import javax.inject.Inject

/**
* @author Silvio Giebl
*/
abstract class DockerLayerTask(private val execOperations: ExecOperations) : OciLayerTask() {
abstract class DockerLayerTask @Inject constructor(private val execOperations: ExecOperations) : OciLayerTask() {

@get:Input
val from = project.objects.property<String>() // TODO replace from and platform with ImageInput
Expand Down

0 comments on commit 2f07f28

Please sign in to comment.