Add gradle build
Enable more Java warnings