On android studio if i use different NDK to build. I need to clean build for every NDK build. There is a copy of different C/C++ objet resulting of the compilation and NDK used.
If i do a clean project i hope that the clean is for everything that was build, different NDK or JRE or new Java class.
But i means deleting file from disk. And for this purpose nothing is done. I can remove project folder and remove project using “remove from recents projects”. I still find everything in the appdata/*/google folder.
So there is no delete at all of the gradle tree stucture project. So android studio use gralde for building but not for cleaning or deleting project. And even if i delete evrything and i réinstall AS i found out that he was able to find project even if folder were deleted. So they keep thing somewere. AS is a bit special. And must of the time they said to look at the gradle help. So it is why i ask the question on gradle forum.
No way to get answer from android studio about this subject.
So AS use gradle task but they implement there own code inside. And store project output in they own folder. And it look like gradle got no hands on it.