Add gradle file for dealing with pure java projects.
Add install local task.