[GRADLE-1283] Running a built-from-source gradle fails with Unexpected Gradle version Created: 04/Jan/11 Updated: 04/Jan/13 Resolved: 04/Jan/11
|Reporter:||John Gibson||Assignee:||Hans Dockter|
If you build Gradle from source and try to run it against a project then you can get the following error:
FAILURE: Build failed with an exception.
I've tracked this down to GradleVersion.java. A recently added version regex always assumes that the divider between the time and the timezone is + (which doesn't happen if your machine is set to a timezone west of Greenwich).
|Comment by John Gibson [ 04/Jan/11 ]|
I've written a fix, checked it into Github, and filed a pull request.
Note that I haven't tested it with a build in a timezone east of Greenwich (because I don't have any machines in that timezone).
|Comment by Adam Murdoch [ 04/Jan/11 ]|
Applied. Thank you for the patch.