Here's my config:
dependencies {
plugin("webtest") {
test('net.sourceforge.htmlunit:htmlunit:2.8-SNAPSHOT') {
excludes 'xalan'
excludes 'xml-apis'
}
test('com.canoo.webtest:webtest:3.1-SNAPSHOT') {
excludes 'xalan'
excludes 'xml-apis'
}
test('xalan:xalan:2.7.0') {
excludes 'xml-apis'
}
}
}
the xml related ones are to stop clashes with the libraries that come with
Grails.
cheers
Lee
On 25 September 2010 13:32, Lee Butts <[email protected]> wrote:
> Hi,
>
> You can use BuildConfig.groovy to overide the dependencies of the
> webtest plugin. I use that to upgrade it to 2.7 snapshot.
>
> Cheers
>
> Lee
>
> On 9/25/10, Daniel Plappert <[email protected]> wrote:
> > Hi,
> >
> > I installed the webtest plugin 3.0.0 for grails. This version uses
> htmlunit
> > 2.4 which has a bug when jquery are used as javascript library. I found a
> > hack to upgrade the version of htmlunit to 2.6, but I am not really
> > satisfied with this workaround, because I have to copy the jar files
> > manually into the ivy2 directory.
> >
> > I am wondering if there is another way to upgrade the htmlunit version or
> is
> > it possible to configure the grails plugin to use a newer webtest
> version?
> > Really appeciate your help, many thanks.
> >
> > Greetings,
> > Daniel
> >
>
> --
> Sent from my mobile device
>