In order to be able to build project at home I need access to company's repository manager.
As a workaround I set up local Arifactory and added proxies for public and private repositories.