Can I use GPL-licensed code in my MIT-licensed project?
No. The project as a whole must conform to the terms of the GPL license and must be distributed under the terms of that license. Therefore such a project as a whole must be distributed as GPL, but can still contain MIT-licensed software.
Comments
https://www.tawesoft.co.uk/kb/article/mit-license-faq