Although I am downloading apache-rat gradle jar from a maven third-party repository, the url.host is being set to jcenter which leads to downloading all the dependencies from jcenter.
classpath 'gradle.plugin.org.nosphere.apache:creadur-rat-gradle:0.2.2'