deep-clean
When Gradle or the IDE let you down, just --nuke all them caches
A Kotlin script that nukes all build caches from Gradle/Android projects. Useful when Gradle or the IDE let you down. The script has been tested on macOS, but it is completely untested on Linux and Windows. KScript may not work at all on Windows! For this script to work, you need to have kotlin, script, and maven on your PATH. If you don't have all three commands on your PATH, then read on to the next section to install them. To make the script run, we'll first need to install all the required...