Class BuildOptionGroupsPlugin

java.lang.Object
com.carrotsearch.gradle.buildinfra.AbstractPlugin
com.carrotsearch.gradle.buildinfra.optiongroups.BuildOptionGroupsPlugin
All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>

public class BuildOptionGroupsPlugin extends AbstractPlugin
Groups the build options declared by buildinfra plugins into logical categories in the output of the buildOptions task. Projects can add their own groups the same way:
tasks.withType(BuildOptionsTask).configureEach {
  optionGroups {
    group("My options", "myproject\\.(.*)")
  }
}
  • Constructor Details

    • BuildOptionGroupsPlugin

      @Inject public BuildOptionGroupsPlugin(org.gradle.api.problems.Problems problems)
  • Method Details

    • apply

      public void apply(org.gradle.api.Project project)