【问题标题】:Gradle: Could not resolve me.champeau.gradle:gradle-javadoc-hotfix-plugin:0.1Gradle:无法解析 me.champeau.gradle:gradle-javadoc-hotfix-plugin:0.1
【发布时间】:2021-11-19 04:23:01
【问题描述】:

我正在尝试将项目 https://archive.apache.org/dist/groovy/2.5.8/sources/apache-groovy-src-2.5.8.zip 的 Gradle 版本从 4.10.3 升级到 6.8 为此,我以这种方式修改了 build.gradle https://gist.github.com/iva-nova-e-katerina/c2fe31c429d19ecf2e08e53f638de451 ,但是在构建此项目时出现以下错误:

└─$ ./gradlew -PskipIndy clean distBin                                                                                                                   1 ⨯
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'groovy'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not resolve me.champeau.gradle:gradle-javadoc-hotfix-plugin:0.1.
     Required by:
         project :
      > Could not resolve me.champeau.gradle:gradle-javadoc-hotfix-plugin:0.1.
         > Could not get resource 'https://dl.bintray.com/melix/gradle-javadoc-hotfix-plugin/me/champeau/gradle/gradle-javadoc-hotfix-plugin/0.1/gradle-javadoc-hotfix-plugin-0.1.pom'.
            > Could not GET 'https://dl.bintray.com/melix/gradle-javadoc-hotfix-plugin/me/champeau/gradle/gradle-javadoc-hotfix-plugin/0.1/gradle-javadoc-hotfix-plugin-0.1.pom'. Received status code 403 from server: Forbidden

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 3s
                                                                                                                               

你能告诉我如何解决这个问题吗?

【问题讨论】:

标签: groovy migration jcenter


【解决方案1】:

此插件在存储库中找到

maven `{ url "https://repo.spring.io/plugins-release" } 

看这里https://gitee.com/mirrors/spring-social/blob/master/build.gradle`

【讨论】:

    猜你喜欢
    • 2022-10-31
    • 2021-01-24
    • 1970-01-01
    • 2021-10-09
    • 2022-07-27
    • 2022-12-16
    • 2022-09-29
    • 2017-06-18
    相关资源
    最近更新 更多