sonatype-nexus-community / scan-gradle-plugin

Gradle plugin that scans the dependencies of a Gradle project using Sonatype platforms: OSS Index and Nexus IQ Server.
Apache License 2.0
77 stars 21 forks source link

[BUG] not working with android multi module project #141

Closed ber4444 closed 10 months ago

ber4444 commented 1 year ago

Describe the bug In your README, we have Provides attribute 'com.android.build.api.attributes.ProductFlavor:version' with value 'ci' but the consumer didn't ask for it as the key to dealing with multiple release variants but in our feature modules, we get - Doesn't say anything about com.android.build.api.attributes.ProductFlavor:version (required 'qa')

To Reproduce Steps to reproduce the behavior: integrate NexusIQ to a project like https://github.com/Morfly/MultiModuleMovies

Expected behavior Works.

Screenshots

Desktop (please complete the following information):

Additional context Tried to poke around with matchingFallbacks and missingDimensionStrategy as well as adding a "default" configuration without success.

guillermo-varela commented 1 year ago

Hi @ber4444!

I checked out the project you mentioned (https://github.com/Morfly/MultiModuleMovies), used the Gradle version specified in the issue with the newest version of this plugin (2.6.1) and I was not able to reproduce the issue.

Could you please try again with the updated version of the plugin and see if the error still occurs?

guillermo-varela commented 10 months ago

Closing due to inactivity. If this issue persists, please open a new ticket.