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?

► Click here to show 1 Answer

0 votes
hi Hello hey
Learn More with Madanswer

Related questions

0 votes
asked May 27, 2019 in Gradle by Ankita1283