gradle v3.4を使用していて、jarファイルをnexusに公開しようとしています。私はGradleのクリーンまたはのGradleの依存関係 エラーgradleからnexusへの公開時の認証エラー
を実行すると、以下のエラーが出るbuild.gradle
repositories {
maven {
credentials {
username project.properties['nexusUser']
password project.properties['nexusPassword']
}
url project.properties['nexusUrl']
}
mavenLocal()
mavenCentral()
jcenter()
}
:build.gradleとエラーの関連部分を下にコピーされます。
Could not resolve all dependencies for configuration ':classpath'.
> Authentication scheme 'all'(Authentication) is not supported by protocol 'file'
gradle.properties
nexusUrl="http://nexus.something.com"
nexusUser="someone"
nexusPassword="somepassword"
に設定あなたの特性は何が? – Vampire
更新された投稿 - 私はそれが問題であると推測しています –