Hi, I'm almost new at Gradle in Android. So.. I'm leanring the Gradle but there are many things that I don't understand.
task clean(type: Delete) {
println "task clean~~"
delete rootProject.buildDir
}
In project A when I input "gradlew" in Android Studio Terminal, I can see below result.
C:\Users\xxxx\AndroidStudioProjects\ProjectA>gradlew
> Configure project :
task clean~~
(..snip..)
I have questions:
- Why is the task clean executed?
- Is it default task?
I couldn't find something like below code in the project's gradle file.
defaultTasks 'clean', 'run' .
- What is type in task? (I saw type "Copy" too) .