Use gradle to create a standard directory structure (use --type): gradle init --type java-library

Screen Shot 2015-09-01 at 14.11.55