Fix stub APK building in app

This commit is contained in:
topjohnwu 2023-03-02 21:27:48 -08:00
parent 8adf27859d
commit 2717feac21
1 changed files with 1 additions and 1 deletions

View File

@ -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")
}