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

Same config for multiple modules #19

Open
tlimp opened this issue Oct 17, 2015 · 0 comments
Open

Same config for multiple modules #19

tlimp opened this issue Oct 17, 2015 · 0 comments

Comments

@tlimp
Copy link

tlimp commented Oct 17, 2015

I'm building an app with Android Wear support.
There wear module must use the same version number as the mobile.
So it would be really great if I could use the same gradle-advanced-build-version for both modules.

Since I'm using VersionCodeType.AUTO_INCREMENT_ONE_STEP for versionCode my simple workaround is to symlink the version.properties file from the mobile into the wear module.
But for the versionName I have to keep them in sync manually. Having the versionName options also in the version.properties would help a lot for a start.

But I'm not sure how reliable symlinks work across different platforms using git or other VCS. So I guess a solution not relying on symlinks would be preferable.

My groovy/gradle knowledge is very limited so i have no clue how to implement it myself based on your existing code.

Any chances this use case can be implemented in any way?

@tlimp tlimp changed the title Same config from multiple modules Same config for multiple modules Oct 17, 2015
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

1 participant