Skip to content

gradle: Avoid multiple sets of org.gradle.libraryelements to jar #3782

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

Merged
merged 1 commit into from
Feb 18, 2020
Merged

gradle: Avoid multiple sets of org.gradle.libraryelements to jar #3782

merged 1 commit into from
Feb 18, 2020

Conversation

bjhargrave
Copy link
Member

A project can have multiple Bundle tasks all using the same sourceSet.
So we avoid setting the org.gradle.libraryelements attribute to jar if
it is already set to jar. We also defend against attempting to set the
attribute after it have been made immutable.

Fixes #3780

A project can have multiple Bundle tasks all using the same sourceSet.
So we avoid setting the org.gradle.libraryelements attribute to jar if
it is already set to jar. We also defend against attempting to set the
attribute after it have been made immutable.

Fixes #3780

Signed-off-by: BJ Hargrave <[email protected]>
@bjhargrave bjhargrave merged commit 52d0df3 into bndtools:master Feb 18, 2020
@bjhargrave bjhargrave deleted the issues/3780 branch February 18, 2020 17:08
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.

Cannot change attributes of dependency configuration after it has been resolved.
1 participant