Package io.llmcompactor.gradle
Interface LlmCompactorPlugin.LlmCompactorExtension
- Enclosing class:
LlmCompactorPlugin
public static interface LlmCompactorPlugin.LlmCompactorExtension
Extension configuration for the LLM Build Compactor plugin.
-
Method Summary
Modifier and TypeMethodDescriptionorg.gradle.api.provider.Property<Boolean> Whether to compress stack traces in the output.org.gradle.api.provider.Property<Boolean> Whether the plugin is enabled.org.gradle.api.provider.Property<String> getMode()Output mode preset.org.gradle.api.provider.Property<Boolean> Whether to output the summary as JSON.org.gradle.api.provider.Property<String> Custom output path for the summary file.org.gradle.api.provider.Property<Boolean> Whether to show test duration percentiles report.org.gradle.api.provider.Property<Boolean> Whether to show logs from failed tests.org.gradle.api.provider.Property<Boolean> Whether to show fix targets for errors.org.gradle.api.provider.Property<Boolean> Whether to show recent git changes.org.gradle.api.provider.Property<Boolean> Whether to show test duration for slow tests (above threshold).org.gradle.api.provider.Property<Boolean> Whether to show total build duration.org.gradle.api.provider.ListProperty<String> List of packages to exclude from stack traces (blacklist).org.gradle.api.provider.ListProperty<String> List of packages to include in stack traces (whitelist).org.gradle.api.provider.Property<Double> Threshold in milliseconds for showing test duration.default ObjectpropertyMissing(String name, Object value) Handles unknown properties gracefully for backward compatibility.
-
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
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 setvalue- the value being set- Returns:
- null (property is ignored)
-