0 votes
in Gradle by
Consider the following gradle build script:

task a{

ext.myProperty = "Hello"

}

task b{

doLast {

println a.myProperty

println c.myProperty

}}

task c(dependsOn: b){

ext.myProperty = "Hey"

println "Hi"}

If the task gradle -q c is run, what is the output?

1 Answer

0 votes
by
hi Hello hey

Related questions

0 votes
asked May 27, 2019 in Gradle by Ankita1283
0 votes
asked May 27, 2019 in Gradle by Ankita1283
0 votes
asked May 27, 2019 in Gradle by Ankita1283
...