Hi,

As you might know, bundled dependencies often require an entry in LICENSE
file.
Gradle-based build would generate LICENSE file automatically, and i wonder
if there are preferences for the file format.

There are at least two ways to deal with that.
As of now, JMeter is using "approach B" (==subfolder for third-party
licenses), however I find "singlefile" approach is viable as well (and it
might even be better).

Does anybody have a preference / justification for one approach or another?
It is really sad, yet I have no strong preference, however I might miss
some use-cases.

A) Bundle all the licenses to a single LICENSE file.
For instance: (1MiB file ahead)
https://github.com/microsoft/vscode-python/blob/master/ThirdPartyNotices-Distribution.txt
Pros: single file contains all the licensing info
Pros: LICENSE file is position-independent (it does not reference other
paths)
Cons: it complicates the license review (e.g. 1MiB file on a mobile do not
work well)

B) Put just references to a root LICENSE file, and include third-party
license files to a subfolder.
Pros: it is probably easier to review individual licenses
Cons: It is harder to compare across different artifacts (e.g. diff for
1MiB file just works, and subfolders complicate that)
Cons: "root" LICENSE becomes position-dependent (for instance, subfolder
with third-party licenses needs to be baked into the root LICENSE)

Vladimir

Reply via email to