|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gradle.api.internal.ConventionTask org.gradle.api.tasks.SourceTask org.gradle.api.tasks.scala.ScalaDoc
public class ScalaDoc extends SourceTask
Generates HTML API documentation for Scala source files.
Field Summary |
---|
Fields inherited from class SourceTask | |
---|---|
source |
Method Summary | |
---|---|
protected void
|
generate()
|
AntScalaDoc
|
getAntScalaDoc()
|
Iterable
|
getClasspath()
|
File
|
getDestinationDir()
Returns the directory to generate the API documentation into. |
FileCollection
|
getScalaClasspath()
Returns the classpath to use to load the ScalaDoc tool. |
ScalaDocOptions
|
getScalaDocOptions()
Returns the ScalaDoc generation options. |
String
|
getTitle()
Returns the documentation title. |
void
|
setAntScalaDoc(AntScalaDoc antScalaDoc)
|
void
|
setClasspath(FileCollection classpath)
|
void
|
setDestinationDir(File destinationDir)
|
void
|
setScalaClasspath(FileCollection scalaClasspath)
|
void
|
setScalaDocOptions(ScalaDocOptions scalaDocOptions)
|
void
|
setTitle(String title)
|
Methods inherited from class SourceTask | |
---|---|
exclude, exclude, exclude, exclude, getDefaultSource, getExcludes, getIncludes, getSource, include, include, include, include, setExcludes, setIncludes, setSource, source |
Method Detail |
---|
@TaskAction protected void generate()
public AntScalaDoc getAntScalaDoc()
@InputFiles public Iterable getClasspath()
Returns the classpath to use to locate classes referenced by the documented source.
@OutputDirectory public File getDestinationDir()
@InputFiles public FileCollection getScalaClasspath()
@Nested public ScalaDocOptions getScalaDocOptions()
@Input @Optional public String getTitle()
public void setAntScalaDoc(AntScalaDoc antScalaDoc)
public void setClasspath(FileCollection classpath)
public void setDestinationDir(File destinationDir)
public void setScalaClasspath(FileCollection scalaClasspath)
public void setScalaDocOptions(ScalaDocOptions scalaDocOptions)
public void setTitle(String title)
Gradle API 1.12