Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gradle: Avoid multiple sets of org.gradle.libraryelements to jar
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 <bj@bjhargrave.com>
- Loading branch information