From 2717feac21daa635307ae9beeffed2a63372552d Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Thu, 2 Mar 2023 21:27:48 -0800 Subject: [PATCH] Fix stub APK building in app --- buildSrc/src/main/java/Setup.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/java/Setup.kt b/buildSrc/src/main/java/Setup.kt index f25617b8a..08b965753 100644 --- a/buildSrc/src/main/java/Setup.kt +++ b/buildSrc/src/main/java/Setup.kt @@ -264,7 +264,7 @@ fun Project.setupApp() { tasks.getByPath("merge${variantCapped}JniLibFolders").dependsOn(syncLibs) processJavaResourcesProvider.configure { dependsOn(syncResources) } - val stubTask = tasks.getByPath(":stub:package$variantCapped") + val stubTask = tasks.getByPath(":stub:comment$variantCapped") val stubApk = stubTask.outputs.files.asFileTree.filter { it.name.endsWith(".apk") }