Failed to resolve: com.github.PhilJay:MPAndroidChart:v2.1.4
Add maven { url “https://jitpack.io” } to repositories under allprojects not under buildscript see screenshot:
Add maven { url “https://jitpack.io” } to repositories under allprojects not under buildscript see screenshot:
The Maven plugin has been eliminated in Gradle 7.0, please use the maven-publish plugin instead. I made it work with plugins { id ‘maven-publish’ … } task androidSourcesJar(type: Jar) { classifier ‘sources’ from android.sourceSets.main.java.srcDirs } project.afterEvaluate { publishing { publications { release(MavenPublication) { from components.release artifact androidSourcesJar // optional sources } } } } and … Read more