I am creating a game and want to release the code under a copyleft license (GPL 2 or 3).So far, so good, but there are multiple MIT-licensed library dependencies.Can I still release my code under GPL? Is the restriction that the MIT code itself is not part of the repository (e.g. separate download)?
Release code with MIT dependencies under GPL
gpl;license compatibility;mit;dependencies
Yes, you can release your code under the GPL.The MIT license is compatible with the GPL: you can combine MIT-licensed code with GPL'ed code, as long as the result is licensed under the GPL. This is possible because the MIT license explicitly allows you to sublicense the code (i.e. republish with a completely different license), and only requires you to keep the copyright and license notice intact.Permissive licences such as the MIT license or Apache v2 license are often used for code that is intended to be available as widely as possible, with as few restrictions as possible for direct users (i.e. other programmers). Such code can be incorporated in proprietary and copyleft projects. 