From fbe2a7cee422d3722a76ea01d3bb74a71b12fc2f Mon Sep 17 00:00:00 2001 From: Alec Kazakova <1675456+AlecKazakova@users.noreply.github.com> Date: Thu, 28 Mar 2024 14:20:21 -0400 Subject: [PATCH 1/2] Put the gradle styles in quotes in the error message --- .../better/dynamic/features/tasks/CheckExternalResourcesTask.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle-plugin/src/main/kotlin/app/cash/better/dynamic/features/tasks/CheckExternalResourcesTask.kt b/gradle-plugin/src/main/kotlin/app/cash/better/dynamic/features/tasks/CheckExternalResourcesTask.kt index 6548a9e..a4befde 100644 --- a/gradle-plugin/src/main/kotlin/app/cash/better/dynamic/features/tasks/CheckExternalResourcesTask.kt +++ b/gradle-plugin/src/main/kotlin/app/cash/better/dynamic/features/tasks/CheckExternalResourcesTask.kt @@ -119,7 +119,7 @@ abstract class CheckExternalResourcesTask : DefaultTask() { | |betterDynamicFeatures { | externalResources { - |${missing.joinToString(separator = "\n") { " style($it)" }} + |${missing.joinToString(separator = "\n") { " style(\"$it\")" }} | } |} """.trimMargin() From c5beb1b4a0f5a4ea761ead3e1b0702d7a916d9c0 Mon Sep 17 00:00:00 2001 From: Alec Kazakova <1675456+AlecKazakova@users.noreply.github.com> Date: Thu, 28 Mar 2024 14:21:06 -0400 Subject: [PATCH 2/2] Update ResourceScanningTests.kt --- .../app/cash/better/dynamic/features/ResourceScanningTests.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle-plugin/src/test/java/app/cash/better/dynamic/features/ResourceScanningTests.kt b/gradle-plugin/src/test/java/app/cash/better/dynamic/features/ResourceScanningTests.kt index fe19398..4048923 100644 --- a/gradle-plugin/src/test/java/app/cash/better/dynamic/features/ResourceScanningTests.kt +++ b/gradle-plugin/src/test/java/app/cash/better/dynamic/features/ResourceScanningTests.kt @@ -65,7 +65,7 @@ class ResourceScanningTests { """ | betterDynamicFeatures { | externalResources { - | style(MyTheme) + | style("MyTheme") | } | } """.trimMargin(),