Skip to content

Commit

Permalink
Merge pull request #1092 from mikepenz/fix/export_variant
Browse files Browse the repository at this point in the history
Fix `exportLibraryDefinitions` with `exportVariant` defined
  • Loading branch information
mikepenz authored Feb 19, 2025
2 parents 2a015f8 + 2441cfc commit 6718664
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class AboutLibrariesPlugin : Plugin<Project> {
// task to output library names with ids for further actions
val collectTask = project.tasks.register("collectDependencies", AboutLibrariesCollectorTask::class.java) {
it.description = "Collects dependencies to be used by the different AboutLibraries tasks"
it.variant = project.providers.gradleProperty("aboutLibraries.exportVariant").orElse(project.providers.gradleProperty("exportVariant"))
if (project.experimentalCache.orNull == true) {
it.configure()
}
Expand Down

0 comments on commit 6718664

Please sign in to comment.