title: Gradle 3.5.1 error error: cannot find symbol someclass.java
body: <p>Hi while building gradle project using Jenkins I'm getting below error
  error: cannot find symbol someclass.java</p>
  
  <p>Locally it is working fine but in Jenkin server showing java build error.</p>