sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #14371
[Bug 1074583] Re: Illegal entry in Gradle Dependencies caused by Sikuli 1.0.0
Here is running it from the command line with Gradle:
C:\springsource\workspace\GradleTest>gradle test
:compileJava
:processResources
:classes
:compileTestJava
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all dependencies for configuration ':testCompile'.
> Could not find group:com.googlecode.javacpp, module:javacpp, version:0.1.
Required by:
:GradleTest:1.0 > org.sikuli:sikuli-api:1.0.0 > org.sikuli:sikuli-core:1.0.0
> Could not find group:com.googlecode.javacv, module:javacv, version:0.1.
Required by:
:GradleTest:1.0 > org.sikuli:sikuli-api:1.0.0 > org.sikuli:sikuli-core:1.0.0
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 3.291 secs
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1074583
Title:
Illegal entry in Gradle Dependencies caused by Sikuli 1.0.0
Status in Sikuli:
New
Bug description:
I am using 32-bit Spring Source suite for Groovy with the Gradle
plugin added and I am getting this build dependency error (relating to
maven?) when I import Sikuli into my project. Here is the error:
Illegal entry in Gradle Dependencies: C:/springsource/ggts-3.1.0.RELEASE/unresolved dependency - com.googlecode.javacv javacv 0.1 GradleTest Unknown org.springsource.ide.eclipse.gradle.core.classpathcontainer
Illegal entry in Gradle Dependencies: C:/springsource/ggts-3.1.0.RELEASE/unresolved dependency - com.googlecode.javacpp javacpp 0.1 GradleTest Unknown org.springsource.ide.eclipse.gradle.core.classpathcontainer
And here is the build file that causes this. I have narrowed the problem down to Sikuli specifically. To see for yourself, just put a '//' comment in front of the Selenium line to disable those dependencies
// build.gradle
apply plugin: 'java'
apply plugin: 'eclipse'
sourceCompatibility = 1.5
version = '1.0'
jar {
manifest {
attributes 'Implementation-Title': 'WebDriver On Gradle', 'Implementation-Version': version
}
}
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'org.sikuli', name: 'sikuli-api', version: '1.0.0'
compile group: 'commons-collections', name: 'commons-collections', version: '3.2'
testCompile group: 'junit', name: 'junit', version: '4.+'
//testCompile group: 'org.seleniumhq.selenium', name: 'selenium-java', version: '2.+'
}
test {
systemProperties 'property': 'value'
}
uploadArchives {
repositories {
flatDir {
dirs 'repos'
}
}
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1074583/+subscriptions
References