Kermit icon indicating copy to clipboard operation
Kermit copied to clipboard

Cannot use kermit-crashlytics in project with JVM target

Open dhoskins opened this issue 3 years ago • 0 comments

Our project has a JVM target which we include in order to get code coverage for common Kotlin tests.

When running the tests we get the error:

* What went wrong:
Execution failed for task ':shared:compileKotlinJvm'.
> Error while evaluating property 'filteredArgumentsMap' of task ':shared:compileKotlinJvm'
   > Could not resolve all files for configuration ':shared:jvmCompileClasspath'.
      > Could not resolve co.touchlab:kermit-crashlytics:1.1.3.
        Required by:
            project :shared
         > No matching variant of co.touchlab:kermit-crashlytics:1.1.3 was found. The consumer was configured to find an API of a library, preferably optimized for standard JVMs, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm' but...

dhoskins avatar Sep 05 '22 13:09 dhoskins