You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
tlimp
changed the title
Same config from multiple modules
Same config for multiple modules
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?
The text was updated successfully, but these errors were encountered: