Need help with creating a fat jar

Hello, I’ve read this post on your blog:

and did some googling, but I still don’t understand - how can I build a far jar which only contains my classes and compile dependencies, excluding those compileOnly ones?
Thanks in advance!

I’d recommend you use the shadow plugin