Schnittstelle Buildable

Alle bekannten Unterschnittstellen:
AntlrSourceDirectorySet, ApplicationBinarySpec, AssemblerSourceSet, BinarySpec, BuildableComponentSpec, ConfigurableFileCollection, ConfigurableFileTree, ConfigurablePublishArtifact, Configuration, ConsumableConfiguration, CppSourceSet, CSourceSet, CUnitTestSuiteBinarySpec, DependencyScopeConfiguration, DependencySet, DependentSourceSet, DependentSourceSet, FileCollection, FileCollectionDependency, FileTree, GoogleTestTestSuiteBinarySpec, GroovySourceDirectorySet, HeaderExportingSourceSet, IvyArtifact, JvmTestSuite, LanguageSourceSet, LegacyConfiguration, LibraryBinarySpec, MavenArtifact, NativeBinarySpec, NativeExecutableBinarySpec, NativeLibraryBinarySpec, NativeResourceSet, NativeTestSuiteBinarySpec, ObjectiveCppSourceSet, ObjectiveCSourceSet, ProjectDependency, PublicationArtifact, PublishArtifact, PublishArtifactSet, ResolvableConfiguration, ScalaSourceDirectorySet, SelfResolvingDependency, SharedLibraryBinarySpec, SourceDirectorySet, SourceSetOutput, StaticLibraryBinarySpec, TestSuiteBinarySpec, TextResource, VisualStudioProject, VisualStudioSolution, WindowsResourceSet
Alle bekannten Implementierungsklassen:
org.gradle.api.internal.AbstractBuildableComponentSpec, org.gradle.language.base.internal.AbstractLanguageSourceSet, org.gradle.api.internal.artifacts.publish.AbstractPublishArtifact, BaseBinarySpec, BaseLanguageSourceSet, Signature

public interface Buildable
A Buildable represents an artifact or set of artifacts which are built by one or more Task instances.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Returns a dependency which contains the tasks which build this artifact.
  • Methodendetails

    • getBuildDependencies

      TaskDependency getBuildDependencies()
      Returns a dependency which contains the tasks which build this artifact. All Buildable implementations must ensure that the returned dependency object is live, so that it tracks changes to the dependencies of this buildable.
      Gibt zurück:
      The dependency. Never returns null. Returns an empty dependency when this artifact is not built by any tasks.