Yes, I'm aware of gradle wrapper but it needs to be explicitly invoked and used. If not used - it enforces nothing, right? Having a built-in version enforcer can make verification simpler and always active.
On Mon, Aug 8, 2011 at 01:37, enrico <[email protected]> wrote: > Hi, > I think, to achieve this result, you can use gradle wrapper > > http://gradle.org/releases/1.0-milestone-3/docs/userguide/userguide_single.html#gradle_wrapper > > Regards, Enrico > > > On Mon, Aug 8, 2011 at 12:24 AM, evgenyg <[email protected]> wrote: > > Perl has a nice http://perldoc.perl.org/functions/use.html use > directive to > > verify the current Perl version: "use v5.6.1;" > > > > With Gradle changes introduced in milestone-4 ("You should use the > > idea.project.jdkName". "You should use the idea.module.downloadSources". > > "You should use the idea.module.downloadJavadoc" ) which are not backward > > compatible with milestone-3 it probably makes sense to introduce a > similar > > directive to Gradle. > > > > Something like > > > > apply gradle: '1.0-milestone-4' > > > > Similar to > > http://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html > . > > > > This will make sure Gradle is at least of the version specified or newer, > > depends on how rigid the verification can be and if it allows > > http://maven.apache.org/enforcer/enforcer-rules/versionRanges.html > > upper/lower bounds . It will also answer questions like "What Gradle > version > > do I need to run this build" ? > > > > ----- > > Best regards, > > > > Evgeny > > > > evgeny-goldin.com > > > > -- > > View this message in context: > http://gradle.1045684.n5.nabble.com/Verifying-Gradle-version-tp4675891p4675891.html > > Sent from the gradle-user mailing list archive at Nabble.com. > > > > --------------------------------------------------------------------- > > To unsubscribe from this list, please visit: > > > > http://xircles.codehaus.org/manage_email > > > > > > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > >
