I tried downloading the project and copying the jar that’s there in the %GRADLE_HOME%/lib/plugins, but it doesn’t look like it works since
apply plugin: ‘rpm’
fails.
This should probably be easy, but I don’t see it in docs or can’t really find how to do it. Do I need to run some task to put the jar in the repository of plugins? Any info would be appreciated.
But how does it get the rpm plugin? I operate from linux box that is not connected to internet, so I guess I need to copy it somewhere in repository of plugins.
If the plugin has third-party dependencies, you need to download and declare them as well. Or you install an in-house repository manager that proxies Maven Central.
Artifactory says to use this line (the path is Repository Path: plugins-release-local:gradle-rpm-plugin/gradle-rpm-plugin/1.4/gradle-rpm-plugin-1.4.jar ):