fitzoh
08/23/2017, 11:49 PMval buildDockerImage by creating(Exec::class) {
commandLine("docker", "build", "-t", ${someExtension.somePropertyState},, dockerDirectory)
doLast{println("executed $commandLine")}
}
I’m trying to figure out how to lazily set an argument in this exec task from a propertystate, but it’s evaluating too early.
Am I missing something?jlleitschuh
08/28/2017, 1:17 PMfitzoh
08/28/2017, 1:35 PMgildor
08/28/2017, 1:54 PMfitzoh
08/28/2017, 1:57 PMcommandLine
in doFirst
jlleitschuh
08/28/2017, 1:58 PM