From 674be97821cb1bc6df41efa81eca37e81b812454 Mon Sep 17 00:00:00 2001 From: Sam Edwards Date: Tue, 12 Nov 2024 21:17:38 -0500 Subject: [PATCH] Allow CollectedStat to be serializable. --- .../src/main/kotlin/com/squareup/invert/CollectedStat.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/invert-gradle-plugin/src/main/kotlin/com/squareup/invert/CollectedStat.kt b/invert-gradle-plugin/src/main/kotlin/com/squareup/invert/CollectedStat.kt index 0a38c4c..d72fa86 100644 --- a/invert-gradle-plugin/src/main/kotlin/com/squareup/invert/CollectedStat.kt +++ b/invert-gradle-plugin/src/main/kotlin/com/squareup/invert/CollectedStat.kt @@ -2,11 +2,13 @@ package com.squareup.invert import com.squareup.invert.models.Stat import com.squareup.invert.models.StatMetadata +import kotlinx.serialization.Serializable /** * A Collected [Stat] and its associated [StatMetadata] */ +@Serializable data class CollectedStat( val metadata: StatMetadata, val stat: Stat?