Interface LlmCompactorPlugin.LlmCompactorExtension

Enclosing class:
LlmCompactorPlugin

public static interface LlmCompactorPlugin.LlmCompactorExtension
Extension configuration for the LLM Build Compactor plugin.
  • Method Details

    • getEnabled

      org.gradle.api.provider.Property<Boolean> getEnabled()
      Whether the plugin is enabled.
      Returns:
      property for enabling/disabling the plugin (default: true)
    • getOutputAsJson

      org.gradle.api.provider.Property<Boolean> getOutputAsJson()
      Whether to output the summary as JSON.
      Returns:
      property for JSON output (default: true)
    • getCompressStackFrames

      org.gradle.api.provider.Property<Boolean> getCompressStackFrames()
      Whether to compress stack traces in the output.
      Returns:
      property for stack frame compression (default: true)
    • getStackFrameWhitelist

      org.gradle.api.provider.ListProperty<String> getStackFrameWhitelist()
      List of packages to include in stack traces (whitelist).
      Returns:
      list property of package names to always include in stack traces
    • getStackFrameBlacklist

      org.gradle.api.provider.ListProperty<String> getStackFrameBlacklist()
      List of packages to exclude from stack traces (blacklist).
      Returns:
      list property of package names to always exclude from stack traces
    • getShowFixTargets

      org.gradle.api.provider.Property<Boolean> getShowFixTargets()
      Whether to show fix targets for errors.
      Returns:
      property for showing fix targets (default: true)
    • getShowRecentChanges

      org.gradle.api.provider.Property<Boolean> getShowRecentChanges()
      Whether to show recent git changes.
      Returns:
      property for showing recent changes (default: false)
    • getMode

      org.gradle.api.provider.Property<String> getMode()
      Output mode preset. When set, overrides individual flags.
      Returns:
      property for mode preset (default: null)
    • getShowSlowTests

      org.gradle.api.provider.Property<Boolean> getShowSlowTests()
      Whether to show test duration for slow tests (above threshold).
      Returns:
      property for showing slow test durations (default: false)
    • getShowTotalDuration

      org.gradle.api.provider.Property<Boolean> getShowTotalDuration()
      Whether to show total build duration.
      Returns:
      property for showing total duration (default: false)
    • getShowDurationReport

      org.gradle.api.provider.Property<Boolean> getShowDurationReport()
      Whether to show test duration percentiles report.
      Returns:
      property for showing duration report (default: false)
    • getOutputPath

      org.gradle.api.provider.Property<String> getOutputPath()
      Custom output path for the summary file.
      Returns:
      property for custom output path (default: null for default location)
    • getShowFailedTestLogs

      org.gradle.api.provider.Property<Boolean> getShowFailedTestLogs()
      Whether to show logs from failed tests.
      Returns:
      property for showing failed test logs (default: true)
    • getTestDurationThresholdMs

      org.gradle.api.provider.Property<Double> getTestDurationThresholdMs()
      Threshold in milliseconds for showing test duration. Tests with duration below this threshold won't show duration.
      Returns:
      property for test duration threshold (default: 100)
    • propertyMissing

      default Object propertyMissing(String name, Object value)
      Handles unknown properties gracefully for backward compatibility. Allows newer plugin versions to work with older build scripts setting properties that don't exist yet.
      Parameters:
      name - the property name that was set
      value - the value being set
      Returns:
      null (property is ignored)