Interface BinarySpec

All Superinterfaces:
Binary, Buildable, BuildableComponentSpec, CheckableComponentSpec, ComponentSpec, ModelElement, Named
All Known Subinterfaces:
ApplicationBinarySpec, ClassDirectoryBinarySpec, CUnitTestSuiteBinarySpec, GoogleTestTestSuiteBinarySpec, JarBinarySpec, JUnitTestSuiteBinarySpec, JvmBinarySpec, JvmTestSuiteBinarySpec, LibraryBinarySpec, NativeBinarySpec, NativeExecutableBinarySpec, NativeLibraryBinarySpec, NativeTestSuiteBinarySpec, PlayApplicationBinarySpec, SharedLibraryBinarySpec, StaticLibraryBinarySpec, TestSuiteBinarySpec
All Known Implementing Classes:
BaseBinarySpec

@Incubating public interface BinarySpec extends BuildableComponentSpec, CheckableComponentSpec, Binary
Represents a binary that is the result of building a component.
  • Method Details

    • isBuildable

      boolean isBuildable()
      Can this binary be built in the current environment?
    • getSources

      The sources owned by this binary.
      Returns:
      the sources owned by the binary.
    • getInputs

      Returns all inputs of the binary. This includes source sets owned by the binary, and other source sets created elsewhere (e.g. inherited from the binary's component).
      Returns:
      all inputs of the binary.
    • getTasks

      The set of tasks associated with this binary.