Org.gradle.api.file vs

Hi All experts,

what is the difference between org.gradle.api.file and What would be the advantage of using org.gradle.api.file? would it be faster?

org.gradle.api.file is a package, not a class, so comparing it to Java’s File class doesn’t make sense. Can you describe a bit more about what you’re referring to?

Hi Dore,
Sorry. i even did not noticed it is a package. Actually i want to know for file operation like delete file/create directory, should we use file from or should we use gradle api like org.gradle.file.*? would gradle’s api be faster or it has other advantage?