【发布时间】:2020-02-12 14:18:44
【问题描述】:
我正在尝试使用 azure devops 工件存储库配置 build.gradle。它之前使用 AZURE_ARTIFACTS 凭据工作,但 azure 最近改变了 build.gradle 连接到工件存储库的方式
url 'https://pkgs.dev.azure.com/dp-name/_packaging/dp-name/maven/v1'
name 'dp-name'
authentication {
basic(BasicAuthentication)
}
}
gradle 构建失败并出现以下错误
> Could not resolve all dependencies for configuration ':compileClasspath'.
> You cannot configure authentication schemes for this repository type if no credentials are provided.
* Try:
【问题讨论】:
标签: gradle azure-devops build.gradle azure-artifacts