On Thu, May 6, 2010 at 13:43, mjparme <[email protected]> wrote:

>
> So even if I specify a 4.3 dependency it still uses 5.0? I am not suing the
> checkstyle plugin because as far as I can tell it doesn't let you use a
> configurl, it needs the config file to be local.
>

You are correct, please file a bug, it's missing an option to configure via
URI.


> I am specifing a checkstyle configuration and then in my dependencies
> section I am setting:
>
> checkstyle group: 'checkstyle', name: 'checkstyle', version: '4.3'


My guess is your configuring the task via ant with the given class, but when
it goes to run the task it's using the one from Gradle's ClassLoader.

LightGuard wrote:
> >
> > Follow-up, if you're using Gradle 0.9 (but it may have been in 0.8 as
> > well,
> > don't recall) there is a code quality plugin that includes checkstyle.
> >
> > On Thu, May 6, 2010 at 13:37, Jason Porter <[email protected]>
> > wrote:
> >
> >> Gradle uses version 5.
> >>
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Trying-to-use-Checkstyle%2C-getting-TreeWalker-error-tp28476461p28478633.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
>
>
>


-- 
Jason Porter

Software Engineer
Open Source Advocate

PGP key id: 926CCFF5
PGP key available at: keyserver.net, pgp.mit.edu

Reply via email to