title: Javadoc with Gradle : show also private members
body: <p>I am generating the Javadoc from my project with gradle, and I want to get in the Javadoc and also the private members.</p>
  
  <p>In the command line, while running javadoc, you can use the -private flag to achieve that. But, how can I do that on my build.gradle?</p>
  
  <p>I have my task in the next way:</p>
  
  <pre><code>task myJavadocs(type: Javadoc) {    
      source = sourceSets.main.allJava
      classpath = configurations.compile
      destinationDir = file("./doc/")
    }
  </code></pre>
  
  <p>I am sure that there is any "option" there for doing that, but I can't find it.</p>