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

Licensee doesn't find license #79

Closed gabrielittner closed 2 years ago

gabrielittner commented 2 years ago

I'm getting this error

com.freeletics.mad:navigator-runtime:0.3.0-alpha27
 - ERROR: Artifact declares no licenses!

however the license is in the pom and the previous release which looks the same worked just fine. My theory is that licensee gets confused by the newer release using Android's new multi variant publishing, even though that doesn't have any influence on the pom.

JakeWharton commented 2 years ago

Yeah sounds similar to #67, #58, and #30. We're using standard Gradle mechanisms to resolve the pom so something is going wrong. I just haven't had the time to really dig into it.

JakeWharton commented 2 years ago

Going to close as a duplicate of #30 which is fixed in 1.5.0. Please try and let me know if it resolves this. Otherwise we'll have to get a failing test case integrated.

gabrielittner commented 2 years ago

Can confirm that it's fixed 👍