Somehow Android development has run itself into a dependency hell. There is a Gradle, Gradle wrapper, Kotlin Gradle Plugin, Android Studio itself; they have a complex compatibility matrix, plus modules have their own dependencies... Argh. Already published iOS beta, but waiting for another Gradle distribution to download to get the next share of build errors.
And yes, all these libraries and SDKs take more than 10 GB, already ran into out of disk error once.