Closed JohnCannon87 closed 3 years ago
Sorry about this, appears to be an Eclipse thing, the test runs fine inside Gradle directly, I've added the dependencies below (had to keep adding as more missing classes came in) and it's working now, feel free to close if you think there's nothing that can be done to stop needing these to be added.
compile 'org.jetbrains.kotlin:kotlin-reflect:1.4.31'
// https://mvnrepository.com/artifact/org.apache.tika/tika-core
implementation group: 'org.apache.tika', name: 'tika-core', version: '1.26'
// https://mvnrepository.com/artifact/com.github.ajalt/mordant
implementation group: 'com.github.ajalt', name: 'mordant', version: '1.2.1'
// https://mvnrepository.com/artifact/com.github.mifmif/generex
implementation group: 'com.github.mifmif', name: 'generex', version: '1.0.2'
// https://mvnrepository.com/artifact/org.apache.commons/commons-collections4
implementation group: 'org.apache.commons', name: 'commons-collections4', version: '4.4'
Looks like Eclipse is not dealing with transitive dependencies from a Gradle project correctly. I don't use Eclipse, so can't help there.
Hi,
Getting an issue when running a provider verification junit test with the error below coming back:
I've tried adding:
ext['kotlin.version'] = '1.4.31'
To my build.gradle but that hasn't helped, looks like some kind of transitive dependency issue but can't seem to spot anything and can't find anything in the docs, worth pointing out I get a different but similar error on versions other than 4.2.4 as well.This is my dependency list:
And this is my test itself: