Resolved bad dependency "compile 'jtidy:jtidy:r872-jdk15'", this was causing a bad version error. Now using 'net.sf.jtidy:jtidy:r938'.
.