I can declare the type of the gradient task, and it seems to inherit some methods. For instance:
task myCopyTask(type: Copy){ from "foo" into "bar" }
So, I think myCopyTask
is an instance of class org.gradle.api.tasks.Copy
, yes? And if I declare the task without any type, is it an instance of org.gradle.api.DefaultTask
? Sorry for the basic question. I read a graduation manual like this page, but I donβt understand what type:
exactly.
source share