moko-resources
moko-resources copied to clipboard
Issue running `test` on 0.24.0-alpha01
I have some placeholders in my AndroidManifest.xml that merged from different external library. For my release
and debug
build types, I have substitutions that never been required before for unitTests.
> Task :features:agentmain-impl:processDebugUnitTestManifest FAILED
/features/agentmain-impl/build/intermediates/tmp/manifest/test/debug/tempFile1ProcessTestManifest15549865760764795924.xml Error:
Attribute activity#com.yandex.passport.internal.ui.router.LoginRouterActivity@permission at tempFile1ProcessTestManifest15549865760764795924.xml requires a placeholder substitution but no value for <passportPermissionSuffix> is provided.
/features/agentmain-impl/build/intermediates/tmp/manifest/test/debug/tempFile1ProcessTestManifest15549865760764795924.xml Error:
Attribute activity#com.yandex.passport.internal.ui.SocialApplicationBindActivity@permission at tempFile1ProcessTestManifest15549865760764795924.xml requires a placeholder substitution but no value for <passportPermissionSuffix> is provided.
/features/agentmain-impl/build/intermediates/tmp/manifest/test/debug/tempFile1ProcessTestManifest15549865760764795924.xml Error:
Attribute activity#com.yandex.passport.internal.ui.SocialBindActivity@permission at tempFile1ProcessTestManifest15549865760764795924.xml requires a placeholder substitution but no value for <passportPermissionSuffix> is provided.
/features/agentmain-impl/build/intermediates/tmp/manifest/test/debug/tempFile1ProcessTestManifest15549865760764795924.xml Error:
Attribute activity#com.yandex.passport.internal.ui.AccountUpgraderActivity@permission at tempFile1ProcessTestManifest15549865760764795924.xml requires a placeholder substitution but no value for <passportPermissionSuffix> is provided.
/features/agentmain-impl/build/intermediates/tmp/manifest/test/debug/tempFile1ProcessTestManifest15549865760764795924.xml Error:
Attribute service#com.yandex.passport.internal.core.auth.AuthenticationService@permission at tempFile1ProcessTestManifest15549865760764795924.xml requires a placeholder substitution but no value for <passportPermissionSuffix> is provided.
/features/agentmain-impl/build/intermediates/tmp/manifest/test/debug/tempFile1ProcessTestManifest15549865760764795924.xml Error:
Attribute receiver#com.yandex.passport.internal.core.announcing.AccountsChangedReceiver@permission at tempFile1ProcessTestManifest15549865760764795924.xml requires a placeholder substitution but no value for <passportPermissionSuffix> is provided.
/features/agentmain-impl/build/intermediates/tmp/manifest/test/debug/tempFile1ProcessTestManifest15549865760764795924.xml Error:
Attribute data@host at tempFile1ProcessTestManifest15549865760764795924.xml requires a placeholder substitution but no value for <applicationClientId> is provided.
/features/agentmain-impl/build/intermediates/tmp/manifest/test/debug/tempFile1ProcessTestManifest15549865760764795924.xml Error:
Attribute activity#com.yandex.passport.internal.ui.bouncer.BouncerActivity@permission at tempFile1ProcessTestManifest15549865760764795924.xml requires a placeholder substitution but no value for <passportPermissionSuffix> is provided.
/features/agentmain-impl/build/intermediates/tmp/manifest/test/debug/tempFile1ProcessTestManifest15549865760764795924.xml Error:
Attribute uses-permission#com.yandex.permission.READ_CREDENTIALS${passportPermissionSuffix}@name at tempFile1ProcessTestManifest15549865760764795924.xml requires a placeholder substitution but no value for <passportPermissionSuffix> is provided.
/features/agentmain-impl/build/intermediates/tmp/manifest/test/debug/tempFile1ProcessTestManifest15549865760764795924.xml Error:
Attribute permission#com.yandex.permission.READ_CREDENTIALS${passportPermissionSuffix}@name at tempFile1ProcessTestManifest15549865760764795924.xml requires a placeholder substitution but no value for <passportPermissionSuffix> is provided.
My workaround is adding
defaultConfig {
...
manifestPlaceholders["passportPermissionSuffix"] = ""
manifestPlaceholders["applicationClientId"] = ""
}