From 12201257ca540d4a08ba516a4c8a2d2654274ec4 Mon Sep 17 00:00:00 2001 From: Leon Kiefer Date: Tue, 17 Aug 2021 15:14:57 +0200 Subject: [PATCH] use correct gradle packageTask fixed #29577 --- react.gradle | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/react.gradle b/react.gradle index 84b1f60df6e7b7..014d30d69a78e5 100644 --- a/react.gradle +++ b/react.gradle @@ -352,8 +352,7 @@ afterEvaluate { } if (enableVmCleanup) { - def task = tasks.findByName("package${targetName}") - task.doFirst(vmSelectionAction) + packageTask.doFirst(vmSelectionAction) } } }