Structure
GradleBuildSummary
A concise, human-readable summary parsed from a Gradle build’s stdout.
struct GradleBuildSummaryOverview
Used to surface the highest-signal lines of a long Android build — the success/time line, the actionable-task cache-effectiveness line, and a build-scan URL when --scan is used — so they are always visible in CI even without --verbose.
Parsing is best-effort and never fails: any field that cannot be located is left nil.
Topics
Initializers
init(buildResultLine: String?, actionableTasksLine: String?, buildScanURL: String?)Creates a summary. All fields default to
nil.
Instance Properties
var actionableTasksLine: String?The actionable-tasks line, e.g.
"42 actionable tasks: 30 executed, 10 from cache, 2 up-to-date".nilif not present.var buildResultLine: String?The build result line, e.g.
"BUILD SUCCESSFUL in 2m 13s".nilif not present.var buildScanURL: String?The Gradle build-scan URL, e.g.
"https://gradle.com/s/abc123", when--scanwas used.nilif no scan was published.var isEmpty: Booltruewhen no summary line could be parsed from the output.
Type Methods
static func parse(String) -> GradleBuildSummaryParses a build summary from Gradle’s stdout.
Default Implementations
Relationships
Conforms To
Swift.EquatableSwift.SendableSwift.SendableMetatype