title: Set "--allow-script-in-comments" to JavaDoc in build.gradle
body: <p>I want to include javascript in my javadoc, so I added <code>&lt;script src=&quot;###&quot;&gt;&lt;/script&gt;</code> like below:</p>
  <pre><code>javadoc {
      options.header = &quot;&lt;script type=\&quot;text/javascript\&quot; src=\&quot;http://####.js\&quot;&gt;&lt;/script&gt;&quot;
  }
  </code></pre>
  <p>in my <code>build.gradle</code> file.</p>
  <p>But when I was trying to generate javadoc, gradle aborts the build with an error message:</p>
  <blockquote>
  <p>1 error</p>
  <p>javadoc: error - Argument for -header contains JavaScript.</p>
  <p>Use --allow-script-in-comments to allow use of JavaScript.</p>
  <p>:javadoc FAILED</p>
  </blockquote>
  <p>But I can't find how to set <code>--allow-script-in-comments</code> in <code>build.gradle</code>. Help me plz.</p>