Is there a good way to cache the build ide so that builds of plugins in Jenkins are faster?

When I build my plugin in Jenkins, it takes quite a while as it downloads the build IDE. Is there a way to commit it to my repo in git such gradle finds it and doesn’t download it again?