Flavors and Paparazzi #540
Unanswered
eschoenawa
asked this question in
Q&A
Replies: 1 comment
-
Paparazzi supports application modules now (in v1.3.1+), so you could try and run the paparazzi gradle plugin directly on your app module. If you can't upgrade to the latest Paparazzi version (e.g. if you're on an older version of Gradle), you could try declaring your app module as an Android library module (call it |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I have a question regarding app build flavors. The app I'm working on has multiple build flavors to serve the same app in very different styling. This is realized by overwriting the themes used within all UI in each build flavor with different styles. How can I specify the build flavor for running paparazzi tests? I can't specify the wanted theme directly with the
theme
parameter, as the theme has the same name as the default one, in order to overwrite it.I also can't supply the flavor through the gradle task, as only our app module has the flavors specified, and that module can't run Paparazzi (due to not being a lib module). Our lib modules don't have the flavors in the gradle tasks.
Beta Was this translation helpful? Give feedback.
All reactions