google / play-services-plugins

Plugins to help with using Google Play services SDK.
https://developers.google.com/android/guides/overview
Apache License 2.0
471 stars 138 forks source link

Dublicated licenses in the `third_party_licenses` file #187

Closed rekire closed 3 years ago

rekire commented 3 years ago

Describe the bug I found out that in the third_party_licenses file the Apache 2.0 license is listed multiple times. It seems that the code just dumps all licenses after each other without checking if they are already present. I checked if for my own project and saw that some licences are listed 92times (in fact just the link to the Apache 2.0, but that does not matter out of my view). The structure of the third_party_license_metadata file allows to reuse the same parts of the third_party_license file.

To Reproduce Steps to reproduce the behavior:

  1. Use the plugin
  2. Check if you find duplicated bigger parts in third_party_license

Expected behavior Each license should be just one time in the third_party_license file.