🚀License Compatibility
Also known as Compatible Licenses, License Conflict, GPL Compatibility
Can code with two sets of rules go in one app? This is the answer.
Think of it like
It is like mixing paints. Some mix well, and some make a mess you cannot undo.
Example
Jack wants to add an Apache 2.0 library to a GPL 2.0 only program. The two clash, so he picks a different library that uses the MIT license.
Why it matters
A clash can stop you from sharing your program at all. It is cheap to check before you add a library and costly to fix after.
Definition
Common mistake
Key takeaways
- 1Obey both at once. They fit when one program can follow all the rules of each.
- 2Permissive mixes easily. MIT and BSD code can go into almost any program.
- 3Copyleft can clash. Two strong copyleft rules may each want the whole app.