If I want to know the source code about clean Task
,I can not find a good way to know the source code about clean task
.can you tell me the good way to learn gradle task .(I know that I can clone the gradle
source code ,but it is hard to find a task)
hey,
you can run
>gradle help --task :clean
to learn more about e.g. the clean
task. This gives you also the class name of the task.
Detailed task information for :clean
Path
:clean
Type
Delete (org.gradle.api.tasks.Delete)
Description
Deletes the build directory.
Group
build
1 Like