Gradle and artifactory in a closed network


I have a closed network with no connection to the internet. In that network, I have jFrog artifactory repository and gradle.
I gradle to bring dependencies from that repository, but I get many errors: gradle alerts that it cannot find the arficatory plugin (however, as far as I understand, this plugin should be in gradle. If it doesn’t, can I use some existing settings to make ot work with the artifactory repository? It may be a problem to insert this network something new).

Any help will be appreciated.