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

Run collectDependencies for a specific variant #859

Closed
5 tasks done
jsilva05 opened this issue Mar 31, 2023 · 0 comments · Fixed by #861
Closed
5 tasks done

Run collectDependencies for a specific variant #859

jsilva05 opened this issue Mar 31, 2023 · 0 comments · Fixed by #861
Assignees
Labels

Comments

@jsilva05
Copy link

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

@jsilva05 jsilva05 changed the title Run collectDependencies only for a specific variant Run collectDependencies for a specific variant Mar 31, 2023
@mikepenz mikepenz self-assigned this Mar 31, 2023
mikepenz added a commit that referenced this issue Apr 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants