title: Jenkins Artifactory Plugin (gradle) doesn't read version from gradle.properties
body: <p>Currently I try to configure Jenkins, so I can do my release builds automatically. It should change the version number from SNAPSHOT to a release version, and do all the SVN commit stuff. After this is done, it should switch it back to a new SNAPSHOT version and commit it, too. Before I switched from maven to gradle, the same plugin worked correctly. </p>
  
  <p>I already created a gradle build, that works correctly. It is reading the version from the property "version" in the gradle.properties file. This version is the one that is used in the gradle build. It's also possible to run "artifactoryPublish" to publish the JAR to my artifactory. </p>
  
  <p><strong>The problem:</strong></p>
  
  <p>When I open the dialog "Artifactory Pro Release Staging" (<a href="http://imgur.com/T44BtQB" rel="nofollow">http://imgur.com/T44BtQB</a>) it is not filling the fields "Release version", "Next development version", and none of the other fields. If I fill the fields by hand, everything is working correctly. As well the version in gradle.properties is changed and checked in correctly.</p>
  
  <p>How could I solve this problem?</p>
  
  <p><strong>Used Versions:</strong></p>
  
  <ul>
  <li>Jenkins Version 2.7.1 </li>
  <li>JFrog Artifactory 4.7.4 rev 40169 (free version)</li>
  <li>Jenkins Artifactory Plugin 2.6.0 (<a href="https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Artifactory+Plugin+-+Release+Management" rel="nofollow">https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Artifactory+Plugin+-+Release+Management</a>)</li>
  <li>Gradle 2.14.1</li>
  </ul>
  
  <p>Thanks!</p>