Add deps for building java projects