# Class BinaryBasePlugin.Rules

java.lang.Object
org.gradle.model.RuleSource
org.gradle.platform.base.plugins.BinaryBasePlugin.Rules

Enclosing class:
  `BinaryBasePlugin`

static class BinaryBasePlugin.Rules extends RuleSource

Since:
  2.11

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Rules()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `(package private) void`
  `addSourceSetsOwnedByBinariesToTheirInputs(org.gradle.platform.base.internal.BinarySpecInternal binary)`
  `(package private) void`
  `binaries(BinaryContainer binaries)`
  `(package private) void`
  `copyBinaryTasksToTaskContainer(TaskContainer tasks, BinaryContainer binaries)`
  `void`
  `defineBuildLifecycleTask(org.gradle.platform.base.internal.BinarySpecInternal binary, org.gradle.model.internal.core.NamedEntityInstantiator<Task> taskInstantiator)`
  `(package private) void`
  `registerBaseBinarySpec(TypeBuilder<BinarySpec> builder)`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Rules

    Rules()

- ## Method Details

  - ### binaries

    void binaries(BinaryContainer binaries)

  - ### registerBaseBinarySpec

    void registerBaseBinarySpec(TypeBuilder<BinarySpec> builder)

  - ### copyBinaryTasksToTaskContainer

    void copyBinaryTasksToTaskContainer(TaskContainer tasks, BinaryContainer binaries)

  - ### defineBuildLifecycleTask

    public void defineBuildLifecycleTask(org.gradle.platform.base.internal.BinarySpecInternal binary, org.gradle.model.internal.core.NamedEntityInstantiator<Task> taskInstantiator)

  - ### addSourceSetsOwnedByBinariesToTheirInputs

    void addSourceSetsOwnedByBinariesToTheirInputs(org.gradle.platform.base.internal.BinarySpecInternal binary)