Search in sources :

Example 1 with AntScalaDoc

use of org.gradle.api.internal.tasks.scala.AntScalaDoc in project gradle by gradle.

the class ScalaDoc method generate.

@TaskAction
protected void generate() {
    ScalaDocOptions options = getScalaDocOptions();
    if (!GUtil.isTrue(options.getDocTitle())) {
        options.setDocTitle(getTitle());
    }
    AntScalaDoc antScalaDoc = new AntScalaDoc(getAntBuilder());
    antScalaDoc.execute(getSource(), getDestinationDir(), getClasspath(), getScalaClasspath(), options);
}
Also used : AntScalaDoc(org.gradle.api.internal.tasks.scala.AntScalaDoc) TaskAction(org.gradle.api.tasks.TaskAction)

Aggregations

AntScalaDoc (org.gradle.api.internal.tasks.scala.AntScalaDoc)1 TaskAction (org.gradle.api.tasks.TaskAction)1