Added dependencies of document checking to gradle.