The GPL requires you provide the source code of the modified application to anyone you distribute it to. Most military projects already require source code from their contractors. Thus, most contractors already comply with the terms of the GPL.
Besides, if you're distributing the application to anyone besides the DoD you're going to have bigger problems than GPL license compliance.
Besides, if you're distributing the application to anyone besides the DoD you're going to have bigger problems than GPL license compliance.