sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #14372
[Bug 1074583] Re: Illegal entry in Gradle Dependencies caused by Sikuli 1.0.0
Using the command "gradle test --stacktrace" I see the whole stack trace
including this snippet:
Cause 1: org.gradle.api.internal.artifacts.ivyservice.ModuleVersionNotFoundException: Could not find group:com.googlecode.javacpp, module:javacpp, ver
sion:0.1.
Required by:
:GradleTest:1.0 > org.sikuli:sikuli-api:1.0.0 > org.sikuli:sikuli-core:1.0.0
at org.gradle.api.internal.artifacts.ivyservice.
ivyresolve.LazyDependencyToModuleResolver$StaticVersionResolveResult.notFound(LazyDependencyTo
ModuleResolver.java:159)
at org.gradle.api.internal.artifacts.ivyservice.
ivyresolve.LazyDependencyToModuleResolver$StaticVersionResolveResult.resolve(LazyDependencyToModuleResolver.java:118)
at org.gradle.api.internal.artifacts.ivyservice.
resolveengine.DependencyGraphBuilder$ModuleVersionSelectorResolveState.resolve(DependencyGraphBuilder.java:933)
at org.gradle.api.internal.artifacts.ivyservice.
resolveengine.DependencyGraphBuilder$DefaultModuleRevisionResolveState.getDescriptor(DependencyGraphBuilder.java:653)
at org.gradle.api.internal.artifacts.ivyservice.
resolveengine.DependencyGraphBuilder$DependencyEdge.calculateTargetConfigurations(DependencyGraphBuilder.java:331)
--
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