gpt4 book ai didi

java - Gradle找不到影子插件

转载 作者:行者123 更新时间:2023-12-03 06:26:46 24 4
gpt4 key购买 nike

配置根项目“准备器”时发生问题。

> Could not resolve all files for configuration ':classpath'.
> Could not find com.github.jengelman.gradle.plugins:shadow:2.0.1.

在以下位置搜索:
         file:/Users/lion-mane/.m2/repository/com/github/jengelman/gradle/plugins/shadow/2.0.1/shadow-2.0.1.pom
file:/Users/lion-mane/.m2/repository/com/github/jengelman/gradle/plugins/shadow/2.0.1/shadow-2.0.1.jar
https://repo1.maven.org/maven2/com/github/jengelman/gradle/plugins/shadow/2.0.1/shadow-2.0.1.pom
https://repo1.maven.org/maven2/com/github/jengelman/gradle/plugins/shadow/2.0.1/shadow-2.0.1.jar

Required by:
project :

最佳答案

根据提供的搜索路径,您的存储库中似乎只有mavenCentral()

您需要使用JCenter。

buildscript {
repositories {
jcenter()
}

关于java - Gradle找不到影子插件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45154050/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com