https://docs.gradle.org/current/dsl/org.gradle.api.Project.html
https://docs.gradle.org/current/dsl/org.gradle.api.Task.html
https://docs.gradle.org/current/dsl/org.gradle.api.tasks.SourceSet.html
https://docs.gradle.org/current/dsl/org.gradle.api.tasks.TaskContainer.html
https://docs.gradle.org/current/dsl/#N104D7
Type | Description |
---|---|
AntlrTask | Generates parsers from Antlr grammars. |
BuildEnvironmentReportTask | Provides information about the build environment for the project that the task is associated with. |
Checkstyle | Runs Checkstyle against some source files. |
CodeNarc | Runs CodeNarc against some source files. |
Copy | Copies files into a destination directory. This task can also rename and filter files as it copies. The task implements CopySpec for specifying what to copy. |
CreateStartScripts | Creates start scripts for launching JVM applications. |
Delete | Deletes files or directories. Example: |
Ear | Assembles an EAR archive. |
Exec | Executes a command line process. Example: |
GenerateIvyDescriptor | Generates an Ivy XML Module Descriptor file. |
GenerateMavenPom | Generates a Maven module descriptor (POM) file. |
GenerateBuildDashboard | Generates build dashboard report. |
GradleBuild | Executes a Gradle build. |
GroovyCompile | Compiles Groovy source files, and optionally, Java source files. |
Groovydoc | Generates HTML API documentation for Groovy source, and optionally, Java source. |
HtmlDependencyReportTask | Generates an HTML dependency report. This report combines the features of the ASCII dependency report and those of the ASCII dependency insight report. For a given project, it generates a tree of the dependencies of every configuration, and each dependency can be clicked to show the insight of this dependency. |
JacocoReport | Task to generate HTML, Xml and CSV reports of Jacoco coverage data. |
JacocoCoverageVerification | Task for verifying code coverage metrics. Fails the task if violations are detected based on specified rules. |
Jar | Assembles a JAR archive. |
JavaCompile | Compiles Java source files. |
Javadoc | Generates HTML API documentation for Java classes. |
JavaExec | Executes a Java application in a child process. |
Pmd | Runs a set of static code analysis rules on Java source code files and generates a report of problems found. |
ProcessResources | Copies resources from their source to their target directory, potentially processing them. Makes sure no stale resources remain in the target directory. |
PublishToIvyRepository | Publishes an IvyPublication to an IvyArtifactRepository. |
PublishToMavenRepository | Publishes a MavenPublication to a MavenArtifactRepository. |
ScalaCompile | Compiles Scala source files, and optionally, Java source files. |
ScalaDoc | Generates HTML API documentation for Scala source files. |
InitBuild | Generates a Gradle project structure. |
Sign | A task for creating digital signature files for one or more; tasks, files, publishable artifacts or configurations. |
Sync | Synchronizes the contents of a destination directory with some source directories and files. |
Tar | Assembles a TAR archive. |
AbstractTestTask | Abstract class for all test tasks. |
Test | Executes JUnit (3.8.x, 4.x or 5.x) or TestNG tests. Test are always run in (one or more) separate JVMs. |
TestReport | Generates an HTML test report from the results of one or more Test tasks. |
War | Assembles a WAR archive. |
Wrapper | Generates scripts (for *nix and windows) which allow you to build your project |