Hi,
I want to run my groovy (Geb) test project with gradle.
I have all the dependency jar files in a local folder, and want to use
gradle to build and run the project without needs to connect to internet.
The build failed with error:
Execution failed for task "compileGroovy", you must assign a groovy library
to the groovy library.
Any idea on how to do this? (The groovy junit test can be run in eclipse
without internet connection, but I want to use gradle)
This is the build script I use:
apply plugin: 'groovy'
apply plugin: 'eclipse'
repositories {
// mavenCentral()
}
configurations {
compile.transitive = true
runtime.transitive = true
}
dependencies {
testCompile fileTree(dir: 'locallibs', includes: ['*.jar'])
//
// groovy "org.codehaus.groovy:groovy-all:1.7.5"
//
//
// testCompile 'junit:junit:4.8.1'
// testCompile 'org.seleniumhq.selenium:selenium:2.0b1'
// testCompile "org.codehaus.geb:geb-core:0.5.1"
// testCompile "org.codehaus.geb:geb-junit4:0.5.1"
}
Many thanks.
/wazh
--
View this message in context:
http://gradle.1045684.n5.nabble.com/Use-local-library-as-dependency-in-gradle-tp4269481p4269481.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