5

This question already has an answer here:

I found a useful class in a project that is licensed under Apache 2.0. Can I copy it to a project licensed under MIT license? Add the library as dependency is not an option.

Ideally the answer should quote the corresponding paragraph of the license (MIT and/or Apache 2.0) that describe this case.

marked as duplicate by Tim Malone, Community Jun 30 '16 at 20:14

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    @TimMalone IMHO it is not a duplicate cause i want to add to a MIT licensed project – Chriss Jun 30 '16 at 10:44
  • From the possible dupe: "licenced under Apache v2 and I want to use MIT..." and "If you copy AL-licensed source code verbatim, you should keep that license on that source code." Isn't that what you want to do..? – Tim Malone Jun 30 '16 at 11:00
  • Yes you are right, thats what i want to do. So I can copy the specific class, keep the license header of Apache v2 and the rest of the code base can remain MIT? – Chriss Jun 30 '16 at 20:13
  • That's my understanding, yes. – Tim Malone Jun 30 '16 at 20:18