From c3268f4132795c913d51aac8c4fe0f78eb65d7c9 Mon Sep 17 00:00:00 2001 From: Pablo Baxter Date: Tue, 5 Dec 2023 21:09:33 -0800 Subject: [PATCH] Fix custom Gradle flags not being properly set --- .../main/kotlin/com/squareup/affected/paths/core/CoreOptions.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/affected-paths/core/src/main/kotlin/com/squareup/affected/paths/core/CoreOptions.kt b/affected-paths/core/src/main/kotlin/com/squareup/affected/paths/core/CoreOptions.kt index efd6910..4c81b84 100644 --- a/affected-paths/core/src/main/kotlin/com/squareup/affected/paths/core/CoreOptions.kt +++ b/affected-paths/core/src/main/kotlin/com/squareup/affected/paths/core/CoreOptions.kt @@ -94,6 +94,7 @@ public data class CoreOptions @JvmOverloads constructor( } internal val gradleArgs: List = buildList { + addAll(customGradleFlags) if (autoInjectPlugin) { add("-I") add(