open class DefaultTask : AbstractTask
DefaultTask
is the standard Task implementation. You can extend this to implement your own task types.
DefaultTask()
|
abstract class AbstractLinkTask : DefaultTask, ObjectFilesToBinary
Base task for linking a native binary from object files and libraries. |
|
abstract class AbstractNativeCompileTask : DefaultTask
Compiles native source files into object files. |
|
abstract class AbstractPublishToMaven : DefaultTask
Base class for tasks that publish a org.gradle.api.publish.maven.MavenPublication. |
|
open class Assemble : DefaultTask
Translates Assembly language source files into object files. |
|
open class BrowserEvaluate : DefaultTask |
|
open class BuildEnvironmentReportTask : DefaultTask
Provides information about the build environment for the project that the task is associated with. Currently, this information is limited to the project's declared build script dependencies visualised in a similar manner as provided by DependencyReportTask. It is not necessary to manually add a task of this type to your project, as every project automatically has a task of this type by the name |
|
open class CompareGradleBuilds : DefaultTask, VerificationTask
Executes two Gradle builds (that can be the same build) with specified versions and compares the outcomes. Please see the “Comparing Builds” chapter of the Gradle User Guide for more information. |
|
open class ComponentReport : DefaultTask
Displays some details about the software components produced by the project. |
|
open class CreateStaticLibrary : DefaultTask, ObjectFilesToBinary
Assembles a static library from object files. |
|
open class DependencyInsightReportTask : DefaultTask
Generates a report that attempts to answer questions like:
While the regular dependencies report (DependencyReportTask) shows the path from the top level dependencies down through the transitive dependencies, the dependency insight report shows the path from a particular dependency to the dependencies that pulled it in. That is, it is an inverted view of the regular dependencies report. The task requires setting the dependency spec and the configuration. For more information on how to configure those please refer to docs for The task can also be configured from the command line. For more information please refer to |
|
open class DependentComponentsReport : DefaultTask
Displays dependent components. |
|
open class ExtractSymbols : DefaultTask
Extracts the debug symbols from a binary and stores them in a separate file. |
|
open class GenerateBuildDashboard : DefaultTask, Reporting<BuildDashboardReports>
Generates build dashboard report. |
|
open class GenerateCUnitLauncher : DefaultTask
Generated the Gradle CUnit launcher: main method and header. |
|
open class GenerateIvyDescriptor : DefaultTask
Generates an Ivy XML Module Descriptor file. |
|
open class GenerateMavenPom : DefaultTask
Generates a Maven module descriptor (POM) file. |
|
open class GenerateModuleMetadata : DefaultTask
Generates a Gradle metadata file to represent a published org.gradle.api.component.SoftwareComponent instance. |
|
open class GenerateSwiftPackageManagerManifest : DefaultTask
A task that produces a Swift Package Manager manifest. |
|
open class InitBuild : DefaultTask
Generates a Gradle project structure. |
|
open class InstallExecutable : DefaultTask
Installs an executable with it's dependent libraries so it can be easily executed. |
|
open class InstallXCTestBundle : DefaultTask
Creates a XCTest bundle with a run script so it can be easily executed. |
|
open class JDepend : DefaultTask, Reporting<JDependReports>
Analyzes code with JDepend. |
|
abstract class JacocoBase : DefaultTask
Base class for Jacoco tasks. |
|
open class ModelReport : DefaultTask
Displays some details about the configuration model of the project. An instance of this type is used when you execute the |
|
open class PluginUnderTestMetadata : DefaultTask
Custom task for generating the metadata for a plugin user test. |
|
open class PrefixHeaderFileGenerateTask : DefaultTask
Generates a prefix header file from a list of headers to be precompiled. |
|
open class PublishToIvyRepository : DefaultTask
Publishes an IvyPublication to an IvyArtifactRepository. |
|
open class Sign : DefaultTask, SignatureSpec
A task for creating digital signature files for one or more; tasks, files, publishable artifacts or configurations. The task produces Signature objects that are publishable artifacts and can be assigned to another configuration.The signature objects are created with defaults and using this tasks signatory and signature type. |
|
open class StripSymbols : DefaultTask
Strips the debug symbols from a binary |
|
open class SwiftCompile : DefaultTask
Compiles Swift source files into object files. |
|
open class TestReport : DefaultTask
Generates an HTML test report from the results of one or more Test tasks. |
|
open class UnexportMainSymbol : DefaultTask
Unexports the |
|
open class WindowsResourceCompile : DefaultTask
Compiles Windows Resource scripts into .res files. |
|
open class Wrapper : DefaultTask
Generates scripts (for *nix and windows) which allow you to build your project with Gradle, without having to install Gradle. When a user executes a wrapper script the first time, the script downloads and installs the appropriate Gradle distribution and runs the build against this downloaded distribution. Any installed Gradle distribution is ignored when using the wrapper scripts. The scripts generated by this task are intended to be committed to your version control system. This task also generates a small |
|
open class WriteProperties : DefaultTask
Writes a java.util.Properties in a way that the results can be expected to be reproducible. There are a number of differences compared to how properties are stored:
Like with java.util.Properties, Unicode characters are escaped when using the default Latin-1 (ISO-8559-1) encoding. |