Using Gradle build: [error] RunTimeINIT: *** terminating: libs to export not found on above classpath: /sikulixlibs/windows/libs64 --- workaround

Asked by sagar z on 2018-06-21

***************** workaround
You have to take care, that com.sikulix::sikulixlibswin::1.1.1 is an additional runtime dependency.

The sikulixapi pom contains:
    <dependency>
      <groupId>com.sikulix</groupId>
      <artifactId>${sikulix.libs}</artifactId>
      <version>1.1.1</version>
    </dependency>

${sikulix.libs} is defined by a profile, that does not work with gradle.
----------------------------------------------------------------------------------------------------------------------

I am using gradle
compile(group: 'com.sikulix', name: 'sikulixapi', version: '1.1.2')

[error] RunTimeINIT: *** terminating: libs to export not found on above classpath: /sikulixlibs/windows/libs64

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
2018-06-21
Last query:
2018-06-21
Last reply:
2018-06-21
Best RaiMan (raimund-hocke) said : #1

You have to take care, that com.sikulix::sikulixlibswin::1.1.1 is an additional runtime dependency.

The sikulixapi pom contains:
    <dependency>
      <groupId>com.sikulix</groupId>
      <artifactId>${sikulix.libs}</artifactId>
      <version>1.1.1</version>
    </dependency>

${sikulix.libs} is defined by a profile, that does not work with gradle.

sagar z (sagarzunjarrao) said : #3

Thanks RaiMan, that solved my question.