-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
yatesco wrote:
> --- createTask('startSeleniumServer') {
> new org.openqa.selenium.server.SeleniumServer()
> }
> ---
I use this variation:
/////////////// build.gradle (partial)
dependencies {
addMavenRepo()
addMavenStyleRepo('openqa-snapshots',
'http://archiva.openqa.org/repository/snapshots/')
addConfiguration 'selenium'
selenium('org.openqa.selenium.server:selenium-server:1.0-SNAPSHOT')
}
createTask('seleniumServer') {
ant.java(classname: 'org.openqa.selenium.server.SeleniumServer', fork: true,
classpath: dependencies.antpath('selenium'))
}
/////////////// end of snippet
I'm also using the client API directly from a build script, so for this I put a
dependency line in settings.gradle:
dependencies(':selenium-java-client-driver:1.0-SNAPSHOT')
But note that the repository is not configured in settings.gradle, only in the
build script.
Cheers,
Marcus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAknqQpMACgkQXjXn6TzcAQkVrgCfR+RWlx5sH1uCAfmTaV1EAHVq
wZsAoJ2dB+1i/6BAFuQImwaBup1HYZlp
=WLtm
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email