java: exclude unused deps from uber jar