There is one sad problem in the Android world: people who have an issue with their Gradle build don’t know how to report it properly and instead copy-paste 2.000 irrelevant lines of code.
My post for Kotlin Academy has a simple solution: use the Gradle Build Scan
https://blog.kotlin-academy.com/use-the-gradle-build-scan-875b384554d1