← Back to team overview

sikuli-driver team mailing list archive

[Bug 1074583] Re: NewJavaAPI: Illegal entry in Gradle Dependencies caused by Sikuli 1.0.0

 

** Summary changed:

- Illegal entry in Gradle Dependencies caused by Sikuli 1.0.0
+ NewJavaAPI: Illegal entry in Gradle Dependencies caused by Sikuli 1.0.0

-- 
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:
  NewJavaAPI: Illegal entry in Gradle Dependencies caused by Sikuli
  1.0.0

Status in Sikuli:
  Invalid

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