Hi Surya,
Thanks for your reply. More specific: I need to run gradle job. I have a custom plugin which run maven command on project and do others functionality.
Now I want to add gradle build with maven. Jenkins provide a great plugin called gradle-plugin to serve this purpose. I want to use that one. So how can I use gradle plugin functionality in my custom plugin. My intention is that a user will able to do everything what they can do in gradle-plugin plus the functionality of my existing custom plugin.
How can I add dependency to my plugin? In my case I need to call gradle-plugin to execute command in the middle of my plugin execution. Thanks again for your time.