Gradle publish/upload from local repo to remote Artifcatory

I am having a gradle project and I can succesfully build it on my local.
I am trying if there is a way I can upload/publish all of the project dependencies artifacts on my local gradle to artifactory
(My artifactory cannot talk to internet)