I have this task
tasks{
register("my_build"){
dependsOn(build)
exec{
commandLine("apollo schema:download --endpoint=https://*************************************/graphql schema.json
")
}
}
}
I tried simple echo hello world for example and it worked, but now I want to execute that download schema command and it keeps giving error saying
A problem occurred starting process 'command 'apollo schema:download''