Hi Russel,
On Aug 21, 2009, at 2:39 PM, Hans Dockter wrote:
Hi Russel,
On Jul 21, 2009, at 7:14 PM, Russel Winder wrote:
On Tue, 2009-07-21 at 10:24 +0100, Russel Winder wrote:
On Tue, 2009-07-21 at 10:50 +0200, Hans Dockter wrote:
[ . . . ]
Good point. Could you write a Jira to provide such a Version
class? An
implementation would also be excellent :)
There is already a GradleVersion class (@author Hans Dockter :-)
but it
seems there just to broker various strings. It could perhaps
become a
little more of a proactive thing?
I think that this would be a good place to put in the method
compareGradleVersionNumberTo.
May be we should rename GradleVersion to GradleInfo.
I am guessing wildly here about the differing roles of
build.gradleVersion and GradleVersion. I am happy to put in time
to do
the evolution if the function below can't be slipped in
comfortably, but
it would help if someone who knows the current rationale for the
build.gradleVersion and GradleVersion could put up a few sentences
explaining.
build.getGradleVersion returns GradleVersion.getVersion()
build might return an instance of GradleInfo instead.
Please not that Build has been renamed to Gradle (as we need the
term build in a different place).
any chance that you can implement this for 0.8?
- Hans
--
Hans Dockter
Gradle Project Manager
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email