【问题标题】:Just upload to Jcenter and can't import to gradle只上传到 Jcenter 不能导入到 gradle
【发布时间】:2015-01-20 23:33:32
【问题描述】:

我使用Gradle plugin dev 将我的插件上传到jCenter。但是现在我不知道如何在gradle中使用它。

找不到类路径。我是这样构建的:

groupId:artifactId:version

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.fuzz.skeleton:app:1.0.0.RELEASE'
    }
}

我的项目可以在here找到。

【问题讨论】:

  • 你能提供 Bintray 包的链接吗?包是否链接到 JCenter?

标签: plugins gradle jcenter


【解决方案1】:

您必须请求将您的包包含在 JCenter 中。具体来说,您尚未完成this process 的第 3 步。此外,您需要请求包含在 Gradle plugins repository 中,以便您的插件可以在 Gradle plugin portal 上使用。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-11-23
    • 2021-11-11
    • 2019-03-28
    • 2017-05-04
    • 2022-06-20
    • 2018-09-21
    • 1970-01-01
    • 2019-05-13
    相关资源
    最近更新 更多