How to make this guy get over me?

Ok so im friends with this guy and he has ad a huge crush on me for two years. Im really not interested at all and need to make him get over me as he's being really annoying and stalkerish. I've tried all the typically things, negative body language ( moving away from him and never facing him or looking at him when talking), one word answers, baging him (not too much just a bit), avoiding him ( which is hard as we go to the same uni). We have all the same friends and they are also saying it has gone on for too long. I've previously told him im not interested but he doesn't seem to get the message? any advice?
I've been told to just tell him im gay but im not sure how well it would work
How to make this guy get over me?
Add Opinion