interface Application : Component
A software application. |
|
interface ApplicationBinarySpec : BinarySpec
A binary produced from a `org.gradle.platform.base.ApplicationSpec`. |
|
interface ApplicationSpec : GeneralComponentSpec
A specification of a org.gradle.platform.base.Application. |
|
interface Binary
A physical binary artifact, which can run on a particular platform or runtime. |
|
interface BinaryContainer : ModelMap<BinarySpec>
A container for project binaries, which represent physical artifacts that can run on a particular platform or runtime. |
|
interface BinarySpec : BuildableComponentSpec, CheckableComponentSpec, Binary
Represents a binary that is the result of building a component. |
|
interface BinaryTasksCollection : DomainObjectSet<Task>
A collection of tasks associated to a binary |
|
interface ComponentSpec : ModelElement
A software component that is built by Gradle. |
|
interface ComponentSpecContainer : ModelMap<ComponentSpec>
A container of software components. |
|
interface DependencySpec
A dependency onto a Gradle component. |
|
interface DependencySpecBuilder
A builder of a DependencySpec. Implementations are required to return immutable dependency specs. |
|
interface DependencySpecContainer
A container for dependency specifications. |
|
interface GeneralComponentSpec : ComponentSpec, SourceComponentSpec, VariantComponentSpec
A general purpose component specification, that can be used to represent some software component built from source and producing multiple output variants. |
|
interface Library : Component
A library that can be linked into or depended on by another software element. |
|
interface LibraryBinaryDependencySpec : DependencySpec
A dependency onto a specific binary of a library published by a project. |
|
interface LibraryBinarySpec : BinarySpec
A binary produced from a `org.gradle.platform.base.LibrarySpec`. |
|
interface LibrarySpec : GeneralComponentSpec
A specification of a org.gradle.platform.base.Library. |
|
interface ModuleDependencySpec : DependencySpec
A dependency onto a module. |
|
interface ModuleDependencySpecBuilder : DependencySpecBuilder
A builder of a ModuleDependencySpec. |
|
interface Platform : Named
The platform or runtime that a binary is designed to run on. Examples: the JvmPlatform defines a java runtime, while the NativePlatform defines the Operating System and Architecture for a native app. |
|
interface PlatformAwareComponentSpec : VariantComponentSpec
Defines Platform specific operations for ComponentSpecs |
|
interface PlatformContainer : ExtensiblePolymorphicDomainObjectContainer<Platform>
A container of Platforms. |
|
interface ProjectDependencySpec : DependencySpec
A dependency onto a library published by a project. |
|
interface ProjectDependencySpecBuilder : DependencySpecBuilder
A builder of a ProjectDependencySpec. |
|
interface SourceComponentSpec : ComponentSpec
Represents some component whose implementation can be represented as a collection of source files, and whose other outputs are built from this source. |
|
interface ToolChain : Named
A set of compilers that are used together to construct binaries. |
|
interface ToolChainRegistry<P : Platform, T : ToolChain>
A Provider of ToolChains. |
|
interface TransformationFileType
The type of a file of a transformation |
|
interface TypeBuilder<T : Any>
A TypeBuilder to configure the registration of a type. |
|
interface VariantComponent : ModelElement
A component that has one or more mutually exclusive variants. |
|
interface VariantComponentSpec : ComponentSpec, VariantComponent
Represents a component spec that is made up of one or more mutually exclusive variants. |
class BinaryTasks
Declares the tasks to build a custom org.gradle.platform.base.BinarySpec binary. The following example demonstrates how to register multiple tasks for custom binary using a plugin with a org.gradle.platform.base.BinaryTasks annotation.
|
|
class ComponentBinaries
Declares the binaries that should be built for a custom org.gradle.platform.base.ComponentSpec type. The following example demonstrates how to register a binary for a custom component type using a plugin with a org.gradle.platform.base.ComponentBinaries annotation. Furthermore the plugin registers 'DefaultSampleBinary' as implementation for org.gradle.platform.base.BinarySpec.
|
|
class ComponentType
Declares a custom org.gradle.platform.base.ComponentSpec type. The following example demonstrates how to register a custom component type using a plugin with a ComponentType annotation. Furthermore the plugin creates an instance of SampleComponent named 'sampleComponent'.
|
|
class Variant
Declares that a property represents a variant dimension. Variants are used in dependency resolution to discriminate between various binaries that may match the requirements (such as a platform, a build type, ...). This annotation must be set on a getter. The return type of the getter must either be a String or a class implementing org.gradle.api.Named. |
open class InvalidModelException : GradleException
Thrown when a component model is declared in an invalid way. |
|
open class ModelInstantiationException : GradleException
Thrown when a model element cannot be instantiated for some reason. |