Skip to content

Commit

Permalink
Add import statements to README examples
Browse files Browse the repository at this point in the history
Authored-by: Leonhardt Koepsell <[email protected]>
  • Loading branch information
lnhrdt committed Nov 3, 2024
1 parent 487fe11 commit 3264b52
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ plugins {
Create tasks that use containers:

```kotlin
import dev.codebandits.ContainerRunTask

tasks {
register<ContainerRunTask>("sayHello") {
dockerRun {
Expand All @@ -49,6 +51,8 @@ tasks {
Declare containers as task inputs and outputs:

```kotlin
import dev.codebandits.ContainerRunTask

tasks {
register<ContainerRunTask>("buildContainer") {
outputImages.dockerLocal("my-image:latest")
Expand Down

0 comments on commit 3264b52

Please sign in to comment.