1
ローカルリポジトリに(手動で)インストールされたmaven依存関係の場合、org.gradle.api.internal.artifacts.ivyservice.ModuleVersionNotFoundExceptionが発生する原因は何ですか?マスターでGradle ModuleVersionNotFoundExceptionローカルリポジトリのmaven依存関係の場合
Iが定義したbuild.gradle:
dependencies {
compile group: 'fairPlayer.includes', name: 'lastfm-bindings', version: '160-SVN'
}
を、私は
"lastfm-bindings-160-SVN.jar"
と
"lastfm-bindings-160-SVN.pom"
を有する:
repositories {
mavenLocal()
}
及びサブモジュールのいずれかで
~\.m2\repository\fairPlayer\includes\lastfm-bindings\160-SVN\
で
Iは、1.0-milestone7
いただきました間違って使用していますか?
groupIdとdirの両方は、「fairPlayer」ではなく「fairplayer」という名前にする必要があります。 GradleはgroupIdを小文字にして、アーティファクトを検索しているようです。 – user961474