>I want to prevent any military from legally using it (I know that if they find it useful, they'll just use it anyway - that's not the point).
So... you don't actually want to prevent any military from using it, you just want to virtue-signal?
I'm not even being sarcastic here; this distinction is pretty important to the license you choose and how you enforce it.