Flavors and Paparazzi #540
-
Hello everyone, 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.
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.
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
:app-library
), and then creating a new, nearly-empty app module that has a dependency on your:app-library
module instead. It's a cheap way to get around Paparazzi's app module limitation on versions earlier than 1.3.1.