cookpad / LicenseToolsPlugin

Gradle plugin to check library licenses and generate license pages for Android
Apache License 2.0
174 stars 29 forks source link

Dependencies in Build Flavors not resolved #25

Open stetro opened 4 years ago

stetro commented 4 years ago

Hi, thanks for this gradle Plugin! We have a multi dimensional flavored build with dependencies in different Flavors. We annotate them like this:

clientVariantAImplementation("dependency:artifcat:version")

Unfortunatly these flavor dependencies do not get detected by this license gradle plugin. Therefore I edit my licenses.yml manually with forceGenerate: true. But this is not as convenient as normal implementation dependencies :) Is there a way to make this work? Or is it possible to add a custom configuration for flavours?

k4zy commented 4 years ago

Thanks for reporting. We will support the flavor's dependency declaration.