While Building My code in jenkins , I am getting following error,
value parse is not a member of object org.joda.time.DateTime [ant:scalac]
var broadcastDate = DateTime.parse(attributesMap("processingDate"),
DateTimeFormat.forPattern(dateFormat)).plusDays(i)
While I am able to build in my local, but not in jenkins.
Also I added joda-convert dependecies in my build.gradle
Still I am getting same error.