Skip to content

Commit 2f135f0

Browse files
committed
fix: dockerExecutor initialized before used
1 parent e893565 commit 2f135f0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/groovy/com/avast/gradle/dockercompose/ComposeSettings.groovy

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,8 @@ abstract class ComposeSettings {
153153

154154
this.containerLogToDir.set(project.buildDir.toPath().resolve('containers-logs').toFile())
155155

156-
this.tasksConfigurator = new TasksConfigurator(this, project, name)
157-
158156
this.dockerExecutor = project.objects.newInstance(DockerExecutor, this)
157+
this.tasksConfigurator = new TasksConfigurator(this, project, name)
159158
}
160159

161160
private static String generateSafeProjectNamePrefix(Project project) {

0 commit comments

Comments
 (0)