-
public class FormatBazelFileTask.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static FormatBazelFileTask.CompanionINSTANCE
-
Method Summary
-
-
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 forconfigureAction- Callback to configure the registered task.
-
-
-
-