Brotli4j
Brotli4j copied to clipboard
Doubts about project license
While checking the code i found a Apache-2.0 license for the project
https://github.com/hyperxpro/Brotli4j/blob/main/LICENSE
but in the code some files have MIT license headers, for example
- https://github.com/hyperxpro/Brotli4j/blob/main/brotli4j/src/main/java/com/aayushatharva/brotli4j/encoder/EncoderJNI.java
- https://github.com/hyperxpro/Brotli4j/blob/main/brotli4j/src/main/java/com/aayushatharva/brotli4j/encoder/Encoder.java
- https://github.com/hyperxpro/Brotli4j/blob/main/brotli4j/src/main/java/com/aayushatharva/brotli4j/common/BrotliCommon.java
- ...
I believe, not a lawyer, that project final license should be Apache-2.0 and MIT because some of your code is under MIT license
Brotli4j is indeed licensed under Apache 2.0 but some of the part of code is coming from Google so it contains the MIT license. I just have to add the Apache license to it.
If you have permissions from Google (Copyright owner) to change code license you can change license header, otherwise you need to move to a dual license model. If you fall in dual license model, you can follow https://reuse.software/ specifications to automate license compliance