I am new to gradle and trying to create a copy task within the new model block. Is this possible and what would the correct syntax be?
build.gradle
model {
task xyz{} //does not work
task ‘xyz’(type:Copy){} //does not work
}
It produces the following error
Rule must follow the pattern ‘«name»(«type») {}’ for a creator, and ‘«name» {}’ for an action