[GRADLE-1738] class org.dom4j.io.SAXReader cannot be resolved Created: 10/Aug/11 Updated: 04/Jan/13 Resolved: 10/Aug/11
|Resolution:||Not A Bug||Votes:||0|
My build script could not be compiled due to unresolved class org.dom4j.io.SAXReader (yes I'm using SAXReader in my build script).
unable to resolve class org.dom4j.io.SAXReader
I had to switch back to 1.0-milestone-2, where it works fine.
|Comment by Adam Murdoch [ 10/Aug/11 ]|
The dom4j classes were unintentionally made visible to build scripts in earlier versions of Gradle. They are no longer visible in milestone-4. Instead, you need to declare the dependency in your build script: