title: How to create single jar file from github tree?
body: <p>For example, the Java API for pubnub is at <a href="https://github.com/pubnub/pubnub-api/tree/master/java" rel="nofollow">https://github.com/pubnub/pubnub-api/tree/master/java</a></p>
  
  <p>I want to create a single jar file from all the java files in the subfolders.</p>
  
  <p>What is the most straight-forward way to do that?</p>