Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature - option to copy reports into variant-specific asset directories #58

Merged

Conversation

rabidaudio
Copy link
Contributor

@rabidaudio rabidaudio commented Jan 7, 2019

I appreciate the plugin!

I noticed that the copy*ReportToAssets options put the assets in the main assets folder, but we have multiple flavors in our app so to keep them from overwriting each other I added an option useVariantSpecificAssetDirs that puts them in the flavor-specific asset folder. I could see this as a first step to a licenseReport task that would generate reports for all variants. I'm not sold on the option name and open to changes to the api or implementation. Also totally understand if this is a feature you don't want to support.

I'm not sure how good the test is, I'm not very familiar with the test framework.

@jaredsburrows
Copy link
Owner

Can you resolve conflicts so we can clean up and merge?

@rabidaudio
Copy link
Contributor Author

Updated to the new project code. I've tested it in our project with jitpack and it works as expected.

@jaredsburrows
Copy link
Owner

@rabidaudio Sorry for late reply, can you sync this and we can merge it?

@rabidaudio
Copy link
Contributor Author

@jaredsburrows sync'd!

it.assetDirs = baseExtension
.sourceSets
.getByName("main")
.getByName(sourceSetName)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jaredsburrows jaredsburrows merged commit ec5f8ec into jaredsburrows:master May 28, 2022
@jaredsburrows
Copy link
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants