A problem occurred configuring root project 'Pixiv-Shaft'.
> Could not resolve all files for configuration ':classpath'.
> Could not find com.github.ben-manes.gradle-versions-plugin:xstream:0.41.0.
Searched in the following locations:
- https://jitpack.io/com/github/ben-manes/gradle-versions-plugin/xstream/0.41.0/xstream-0.41.0.pom
- https://repository.jboss.org/maven2/com/github/ben-manes/gradle-versions-plugin/xstream/0.41.0/xstream-0.41.0.pom
- https://plugins.gradle.org/m2/com/github/ben-manes/gradle-versions-plugin/xstream/0.41.0/xstream-0.41.0.pom
- https://repo.maven.apache.org/maven2/com/github/ben-manes/gradle-versions-plugin/xstream/0.41.0/xstream-0.41.0.pom
- https://dl.google.com/dl/android/maven2/com/github/ben-manes/gradle-versions-plugin/xstream/0.41.0/xstream-0.41.0.pom
Required by:
project : > com.github.ben-manes.versions:com.github.ben-manes.versions.gradle.plugin:0.41.0 > com.github.ben-manes:gradle-versions-plugin:0.41.0 > com.github.ben-manes.gradle-versions-plugin:gradle-versions-plugin:0.41.0
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
似乎是因为找不到对应的依赖,我直接把id "com.github.ben-manes.versions" version "0.41.0"这行给注释了,似乎没啥影响,也能正常编译运行。
jitpack somehow rewrote the xstream group to the plugin, thereby corrupting the metadata. You can either remove jitpack as a plugin repository, use content filtering, or upgrade as the xstream dependency was removed.
编译的时候出现如下错误:
似乎是因为找不到对应的依赖,我直接把
id "com.github.ben-manes.versions" version "0.41.0"
这行给注释了,似乎没啥影响,也能正常编译运行。