From 055dcbec3227d5933b66b0dd3a1c5aa7803186e4 Mon Sep 17 00:00:00 2001 From: "pengmutian@dayuwuxian.com" Date: Tue, 14 Jan 2025 10:50:37 +0800 Subject: [PATCH] [bugfix] Fix mac gradle commadline error. --- WX-Compose-PluginImpl/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WX-Compose-PluginImpl/build.gradle b/WX-Compose-PluginImpl/build.gradle index aacd764..7e843b5 100644 --- a/WX-Compose-PluginImpl/build.gradle +++ b/WX-Compose-PluginImpl/build.gradle @@ -92,7 +92,7 @@ def createCopyTask(buildType) { if (System.getProperty('os.name').toLowerCase(Locale.ROOT).contains('windows')) { it.commandLine 'cmd', '/c', "d8 --output ${outputDexFile.name} ${outputFile.name}" } else { - it.commandLine bash, '-c ', "d8 --output ${outputDexFile.name} ${outputFile.name}" + it.commandLine 'bash', '-c ', "d8 --output ${outputDexFile.name} ${outputFile.name}" } }.dependsOn(copyTask.name) return tasks.create("assembleDxCommandAndCopy") {