File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import java.io.ByteArrayOutputStream
2
2
3
3
evaluationDependsOn(" :client" )
4
4
5
- gradle.projectsEvaluated( {
5
+ gradle.projectsEvaluated {
6
6
7
7
tasks.register<JavaExec >(" checkDockerClient" ) {
8
8
main = " de.gesellix.docker.client.LocalDocker"
@@ -24,11 +24,9 @@ gradle.projectsEvaluated({
24
24
)
25
25
26
26
fun summary (): String {
27
- var result = listOf (" \n environment:\n " )
28
- result + = environmentVariables.map {
27
+ val result = listOf (" \n environment:\n " ) + environmentVariables.map {
29
28
" - $it : ${environment[it]} "
30
- }
31
- result + = systemProperties.map {
29
+ } + systemProperties.map {
32
30
" - $it : ${System .getProperty(it)} "
33
31
}
34
32
return result.joinToString(" \n " )
@@ -52,4 +50,4 @@ gradle.projectsEvaluated({
52
50
" \n If possible, please also share the log output above!" )
53
51
}
54
52
}
55
- })
53
+ }
You can’t perform that action at this time.
0 commit comments