Interface ConfigurableReport

All Superinterfaces:
org.gradle.util.Configurable<Report>, Report, Serializable
All Known Subinterfaces:
CustomizableHtmlReport, DirectoryReport, FindBugsXmlReport, JUnitXmlReport, SingleFileReport

@Incubating public interface ConfigurableReport extends Report
A file based report to be created with a configurable destination.
  • Method Details

    • setEnabled

      void setEnabled(boolean enabled)
      Whether or not this report should be generated by whatever generates it.
      Specified by:
      setEnabled in interface Report
      Parameters:
      enabled - Whether or not this report should be generated by whatever generates it.
      Since:
      4.0
      See Also:
    • setEnabled

      void setEnabled(Provider<Boolean> enabled)
      Whether or not this report should be generated by whatever generates it.
      Parameters:
      enabled - Provider for indicating whether or not this report should be generated by whatever generates it.
      Since:
      4.0
      See Also:
    • setDestination

      @Deprecated void setDestination(Object file)
      Sets the destination for the report. The file parameter is evaluated as per Project.file(Object).
      Parameters:
      file - The destination for the report.
      See Also:
    • setDestination

      void setDestination(File file)
      Sets the destination for the report.
      Parameters:
      file - The destination for the report.
      Since:
      4.0
      See Also:
    • setDestination

      void setDestination(Provider<File> provider)
      Sets the destination for the report.
      Parameters:
      provider - The provider of the destination for the report.
      Since:
      4.0
      See Also: