Package 

Object FormatBazelFileTask.Companion

    • Method Summary

      Modifier and Type Method Description
      final TaskProvider<out Task> register(Project project, Provider<RegularFile> buildifierScriptProvider, Function1<Task, Unit> configureAction) Register formatting task on the given project and provide callbacks to configure it.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • register

         final TaskProvider<out Task> register(Project project, Provider<RegularFile> buildifierScriptProvider, Function1<Task, Unit> configureAction)

        Register formatting task on the given project and provide callbacks to configure it.

        Based on the project type i.e whether root or subproject, register the correct formatting task and provide callbacks to configure it.

        Parameters:
        project - The project instance to register for
        configureAction - Callback to configure the registered task.