cashapp / licensee

Gradle plugin which validates the licenses of your dependency graph match what you expect
https://cashapp.github.io/licensee/docs/1.x/
Apache License 2.0
626 stars 29 forks source link

Module-based artifact whose Android variant was selected cannot resolve pom for common artifact #30

Closed JakeWharton closed 2 years ago

JakeWharton commented 3 years ago

Repro incoming

JakeWharton commented 3 years ago

So the problem, unsurprisingly, is that we get an ambiguous artifact exception. The common artifact has debug and release variants (as jvm) with no way to distinguish which we want. Except we don't want any, we want the pom which is variant-free. Don't know how to tell it to resolve exactly what I tell it yet.

JakeWharton commented 3 years ago

Things that didn't work last night: