This blog post talks about how you can create a fully packaged jarfile including all its gradle dependencies.