Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Providing different sets of values for different build types #45

Closed
olegosipenko opened this issue Jun 19, 2016 · 2 comments
Closed

Providing different sets of values for different build types #45

olegosipenko opened this issue Jun 19, 2016 · 2 comments

Comments

@olegosipenko
Copy link

It is usual situation to have different sets of values for debug and production version of application - different Base Urls for example. Also while some values have to differ from one build type to another, other values should be equal. So one should have a way to declare values in different parts of Gradle script.
So I tried to declare paperwork block in buildTypes section of my build.gradle. But I always get values from Release build type in my paperwork.json file. Also I tried to add paperwork block in the root of my build.gradle for values that common for all build types, but in this case values from buildTypes section have not been included in resulting json file.
So, any suggestions how to deal with this?

@zsoltk
Copy link
Owner

zsoltk commented Jul 12, 2016

This is a duplicate of #35 , please see my answer there.

@zsoltk zsoltk closed this as completed Jul 12, 2016
@olegosipenko
Copy link
Author

Sorry, I missed that. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants