Class BinaryBasePlugin

  • All Implemented Interfaces:
    Plugin<Project>

    @Incubating
    public class BinaryBasePlugin
    extends Object
    implements Plugin<Project>
    Base plugin for binaries support. - Adds a BinarySpec container named binaries to the project. - Registers the base BinarySpec type. - For each BinarySpec, registers a lifecycle task to assemble that binary. - For each BinarySpec, adds the binary's source sets as its default inputs. - Links the tasks for each BinarySpec across to the tasks container.
    • Constructor Detail

      • BinaryBasePlugin

        public BinaryBasePlugin()
    • Method Detail

      • apply

        public void apply​(Project target)
        Description copied from interface: Plugin
        Apply this plugin to the given target object.
        Specified by:
        apply in interface Plugin<Project>
        Parameters:
        target - The target object