Create the version in JIRA using jira-rest-java-client java library in gradle/groovy? : I have gradle script which is creating the version in JIRA using the REST API.
But there is  jira-rest-java-client also available. I want to use the java library of  jira-rest-java-client and wants to do the same stuff in gradle. Can someone provide an example how could I try this.

How to use the jira-rest-java-client library to make connection with JIRA through example?
