Package: org.gradle.runtime.jvm

## [Java] Interface JvmBinarySpec

- Named

- All Superinterfaces:
    BinarySpec, BuildableModelElement, Named

  Represents a binary artifact that is the result of building a jvm component.

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `File` | `getClassesDir()` The classes directory for this binary.
    `File` | `getResourcesDir()` The resources directory for this binary.
    `JvmBinaryTasks` | `getTasks()` The set of tasks associated with this binary.
    `JavaToolChain` | `getToolChain()` Returns the JavaToolChain that will be used to build this binary.
    `void` | `setClassesDir(File classesDir)` Sets the classes directory for this binary.
    `void` | `setResourcesDir(File dir)` Sets the resources directory for this binary.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `interface BinarySpec` | `getDisplayName, getSource, getTasks, isBuildable, source`

- - ### Method Detail

    - #### public File getClassesDir()

      The classes directory for this binary.

    - #### public File getResourcesDir()

      The resources directory for this binary.

    - #### public JvmBinaryTasks getTasks()

      The set of tasks associated with this binary.

    - #### public JavaToolChain getToolChain()

      Returns the JavaToolChain that will be used to build this binary.

    - #### public void setClassesDir(File classesDir)

      Sets the classes directory for this binary.

    - #### public void setResourcesDir(File dir)

      Sets the resources directory for this binary.