kotest / kotest-extensions-arrow

Kotest extensions for Arrow
Apache License 2.0
39 stars 13 forks source link

Master build is broken #239

Closed myuwono closed 1 year ago

myuwono commented 1 year ago

Master build is currently failing with this error

> Task :commonizeNativeDistribution FAILED

> Task :kotest-assertions-arrow:compileCommonMainKotlinMetadata
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':commonizeNativeDistribution'.
> Could not resolve all files for configuration ':kotlinKlibCommonizerClasspath'.
   > Cannot resolve external dependency org.jetbrains.kotlin:kotlin-klib-commonizer-embeddable:1.8.10 because no repositories are defined.
     Required by:
         project :
Kantis commented 1 year ago

Fixed by 53ae245. For some reason Kotlin 1.7+ seems to register the kotlinKlibCommonizerClasspath task on the root project, even when that project is not a Kotlin project. Adding repositories in the root build.gradle.kts was what solved it.