Class TestReportFormattingPlugin

java.lang.Object
com.palantir.witchcraft.java.logging.gradle.testreport.TestReportFormattingPlugin
All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>

public abstract class TestReportFormattingPlugin extends Object implements org.gradle.api.Plugin<org.gradle.api.Project>
In its current form, this plugin may generously be described as "a workaround". I've filed gradle#17966 upstream to find a better solution. We may be able to consume the xml test report and generate our own html based on that if the current approach becomes troublesome, that would allow us to color individual lines much like our intellij plugin.
  • Constructor Details

    • TestReportFormattingPlugin

      public TestReportFormattingPlugin()
  • Method Details

    • apply

      public final void apply(org.gradle.api.Project project)
      Specified by:
      apply in interface org.gradle.api.Plugin<org.gradle.api.Project>
    • getBuildOperationExecutor

      @Inject protected abstract org.gradle.internal.operations.BuildOperationExecutor getBuildOperationExecutor()
    • getBuildOperationRunner

      @Inject protected abstract org.gradle.internal.operations.BuildOperationRunner getBuildOperationRunner()