Use import instead
@@ -19,10 +19,11 @@ class AbstractDockerRemoteApiTaskFunctionalTest extends AbstractGroovyDslFunctio
task customDocker(type: CustomDocker)
import com.bmuschko.gradle.docker.tasks.AbstractDockerRemoteApiTask
+ import com.github.dockerjava.api.DockerClient
class CustomDocker extends AbstractDockerRemoteApiTask {
@Override
- void runRemoteCommand(com.github.dockerjava.api.DockerClient dockerClient) {
+ void runRemoteCommand(DockerClient dockerClient) {
assert dockerClient
assert dockerClient.dockerClientConfig.dockerHost.host == new URI('$TestConfiguration.dockerHost').host
assert dockerClient.dockerClientConfig.dockerHost.port == new URI('$TestConfiguration.dockerHost').port
@@ -59,10 +60,11 @@ class AbstractDockerRemoteApiTaskFunctionalTest extends AbstractGroovyDslFunctio
task customDocker(type: CustomDocker)
import com.bmuschko.gradle.docker.tasks.AbstractDockerRemoteApiTask
+ import com.github.dockerjava.api.DockerClient
class CustomDocker extends AbstractDockerRemoteApiTask {
@Override
- void runRemoteCommand(com.github.dockerjava.api.DockerClient dockerClient) {
+ void runRemoteCommand(DockerClient dockerClient) {
assert dockerClient
assert dockerClient.dockerClientConfig.dockerHost == new URI('tcp://remote.docker.com:2375')
assert dockerClient.dockerClientConfig.registryUrl == 'https://index.docker.io/v1/'
