Class MakeTask

  • All Implemented Interfaces:
    Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.TaskInternal, ExtensionAware, Task, org.gradle.util.Configurable<Task>

    public abstract class MakeTask
    extends CoreTask
    The task running the Make command by invoking the Nyx.make() method on the backing Nyx instance.
    • Constructor Detail

      • MakeTask

        @Inject
        public MakeTask​(NyxExtension extension)
        Standard constructor.
        Parameters:
        extension - the extension object. Cannot be null. This is injected by Gradle because it's passed as an optional constructor argument by the NyxPlugin definition method.
    • Method Detail

      • make

        public void make()
                  throws NyxException
        The actual business method for this task. This method runs the Nyx.make() method on the shared singleton Nyx instance. Gradle knows this is the method to run upon task execution thanks to the TaskAction annotation.
        Throws:
        NyxException - in case of any exception when invoking the backing instance