I have 3 build variants, say debug, staging and release I want to generate different combinations of build like staging and release build or debug and release build. I believe writing a gradle task would help. Can anyone help write this task.
Asked
Active
Viewed 160 times
0

Vadim Kotov
- 8,084
- 8
- 48
- 62

subair_a
- 1,028
- 2
- 14
- 19
-
what have you tried so far? have you looked at ? https://docs.gradle.org/current/userguide/custom_plugins.html – Laksitha Ranasingha Apr 05 '18 at 15:06
1 Answers
0
Unfortunately you cant merge your build type resources. But with a new concept of "gradle dimensions" you can merge flavors resources and source sets. Here is an exapmle https://stackoverflow.com/a/49403213/6193843

Link182
- 733
- 6
- 15