Quantcast
Channel: Gradle Forums - Latest posts
Viewing all articles
Browse latest Browse all 19854

Gradle 6.0 fails to find dependencies in p2asmaven repository

$
0
0

Hi @liblit,

You are running into this (breaking) change:
https://docs.gradle.org/current/userguide/upgrading_version_5.html#maven_or_ivy_repositories_are_no_longer_queried_for_artifacts_without_metadata_by_default

It’s a performance optiomization that now assumes that all Maven repositories follow the standard Maven layout (i.e. there always is a maven-metadata.xml and poms)
You need to add the artifact() metadata sources to the p2asmaven repository declaration to tell Gradle that the repo is not always following these conventions.


Viewing all articles
Browse latest Browse all 19854

Trending Articles