title: Java 10 code Deployment failed in Jenkins(Build is successful)
body: <p>I've updated my code Java 8 to Java 10. I'm trying to deploy that code in Jenkins after build successfully. But it's getting failed because of the following exception. It seems it's flyway jar version issue though I'm not sure about it.</p>
  
  <ul>
  <li><p>Where:
  Script '/var/www/soa-systems_denqa04/sysconfigservice/releases/detached_2018_07_24_15_49_54__0530__0f348d1d0545ded42325791260a4a32abd500af7/bootDeployment.gradle' line: 11</p></li>
  <li><p>What went wrong:
  A problem occurred evaluating script.
  [33m> [39mFailed to apply plugin [id 'org.flywaydb.flyway']
  [33m> [39mCould not generate a proxy class for class org.flywaydb.gradle.task.FlywayValidateTask.</p></li>
  </ul>