Android Gradle sync failed: Packgage missing
After opening few old Android projects in last half a year I noticed that some of the projects that I had to clone from git were not building correctly.
A problem occurred configuring root project 'App'.
> Could not resolve all files for configuration ':classpath'.
> Could not find org.jetbrains.kotlinx:kotlinx-html-jvm:0.7.2.
Looks like the package moved, because colleague of mine had no issues syncing his existing project.
By adding this repository to the settings.gradle
file I was able to fix the issue:
pluginManagement {
repositories {
...
maven { url = uri("https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven") }
}
}