Quantcast
Channel: Gradle Forums - Latest posts
Viewing all articles
Browse latest Browse all 20352

How can I delete a file from inside a task?

$
0
0

For Delete task you need to comply with gradle Api that’s why you had to create a new task that overrides the Delete default task from gradle.

So Project.delete() can only be used inside of tasks that inherit from org.gradle.api.tasks.Delete?


Viewing all articles
Browse latest Browse all 20352

Trending Articles