Move archiveJavadoc within publishers closure