ModuleVersionNotFoundException: Cannot resolve external dependency After updating gradle to .kts
I updated both Gradle files to not use Groovy and go for Kotlin (added the .kts extension)
The project compiles when I click on Sync but when I click on run, it throws a lot of errors, and all of them have the same cause.