I'm working on a project that I want to release under the MIT license. However, it includes a GPL'ed library. I understand this means I must release my work under GPL. Am I able to release the whole work under GPL, but also license the code I wrote under the MIT license?
This does feel against the spirit of the GPL, but will it get me into trouble?