Class GruntTask

    • Field Detail

      • DEFAULT_GRUNT_CLI_EXECUTABLE

        public static final java.lang.String DEFAULT_GRUNT_CLI_EXECUTABLE
    • Constructor Detail

      • GruntTask

        public GruntTask()
    • Method Detail

      • gruntCliExecutable

        public GruntTask gruntCliExecutable​(@NotNull
                                            @NotNull java.lang.String gruntCliExecutable)
        Specify path to the Grunt command line interface (grunt-cli) executable for this task. Path must be relative to the working directory.

        Example: node_modules/grunt-cli/bin/grunt

      • task

        public GruntTask task​(@Nullable
                              @Nullable java.lang.String task)
        Grunt task to execute. If not specified, the 'default' task will be executed. Multiple tasks can be specified separated by a space.
      • gruntfile

        public GruntTask gruntfile​(@Nullable
                                   @Nullable java.lang.String gruntfile)
        Specify path to the gruntfile, relative to the build working directory. If empty, the default gruntfile will be used.