mikepenz/AboutLibraries

Run collectDependencies for a specific variant

jsilva05 opened this issue · 0 comments

About this issue

This is actually a feature request.
In my current project we have 130+ variants (please don't judge me). This causes the task collectDependencies to take a lot of time when generating licenses.

While browsing the code, I noticed that we are running this task to all the variants here:

app.applicationVariants.all {
createAboutLibrariesAndroidTasks(project, it, collectTask)
}

It would be nice to have this task respect the aboutLibraries.exportVariant property or even create a new one to reduce the time of any of the tasks.

Details

  • Used library version 10.6.1

Checklist