android-training
android-training copied to clipboard
could not find com.zy.plugin:myplugin:0.0.1
Hello bro, When I run your EasyGradle project, the gradle shows that A problem occurred configuring root project 'EasyGradle'.
Could not resolve all files for configuration ':classpath'. Could not find com.zy.plugin:myplugin:0.0.1. Searched in the following locations: https://dl.google.com/dl/android/maven2/com/zy/plugin/myplugin/0.0.1/myplugin-0.0.1.pom https://dl.google.com/dl/android/maven2/com/zy/plugin/myplugin/0.0.1/myplugin-0.0.1.jar https://jcenter.bintray.com/com/zy/plugin/myplugin/0.0.1/myplugin-0.0.1.pom https://jcenter.bintray.com/com/zy/plugin/myplugin/0.0.1/myplugin-0.0.1.jar file:/Users/bytedance/.m2/repository/com/zy/plugin/myplugin/0.0.1/myplugin-0.0.1.pom file:/Users/bytedance/.m2/repository/com/zy/plugin/myplugin/0.0.1/myplugin-0.0.1.jar Required by: project :
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html do i need update my maven path?
先把这行 classpath 注释掉,然后本地发布一下插件就行了。