Open
Description
Hi :)
I recently had a build issue on android because of a "small" problem:
In a project, we set the versionCode like YYMMDD###
. Because of a minor error, the code was changed to generate not 3, but 4 digits at the end of that versionCode. That exceeded the maximum length allowed for this value (2100000000), but gradle only gave the following error (line 10 is versionCode
):
FAILURE: Build failed with an exception.
* Where:
Build file '/android/app/build.gradle' line: 10
* What went wrong:
A problem occurred evaluating project ':app'.
> Value is null
Would it be possible to generate a warning/error when trying to set a versionCode higher than allowed with trapeze?
Or should I file an issue with gradle for a better error message?
Thanks
Marc
Metadata
Assignees
Labels
No labels
Activity