sksamuel / cohort

Ktor/Vertx spring-actuator style library - healthchecks, logging, database
Apache License 2.0
123 stars 6 forks source link

Can't upgrade to cohort-ktor2:2.0.2 #42

Closed adomokos closed 1 year ago

adomokos commented 1 year ago

Receiving this error:

> Task :restserver:compileKotlin FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':restserver:compileKotlin'.
> Could not resolve all files for configuration ':restserver:compileClasspath'.
   > Could not find com.sksamuel.cohort:cohort-ktor2:2.0.2.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/com/sksamuel/cohort/cohort-ktor2/2.0.2/cohort-ktor2-2.0.2.pom
       - https://jitpack.io/com/sksamuel/cohort/cohort-ktor2/2.0.2/cohort-ktor2-2.0.2.pom
     Required by:
         project :restserver

Looked in Maven:

no-cohort-ktor2

sksamuel commented 1 year ago

In 2.0 the ktor2 module went away, and the functionality just moved into the core module - since 2.0 no longer supports ktor1.

sksamuel commented 1 year ago

See https://github.com/sksamuel/cohort/blob/main/changelog.md#200

adomokos commented 1 year ago

Trying to find the documentation for it, no luck:

incorrect-readme

sksamuel commented 1 year ago

yep good shout, I'll update docs.

sksamuel commented 1 year ago

Docs updated :)

On Mon, 19 Jun 2023 at 07:54, Attila Domokos @.***> wrote:

Trying to find the documentation https://github.com/sksamuel/cohort#how-to-use for it, no luck:

[image: incorrect-readme] https://user-images.githubusercontent.com/80530/246835109-77e2e2cc-75fc-41c3-ba70-39e8e792f189.jpg

— Reply to this email directly, view it on GitHub https://github.com/sksamuel/cohort/issues/42#issuecomment-1597138824, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFVSGSZNYQFVGTSPZ2YSUTXMBDZNANCNFSM6AAAAAAZFNINLE . You are receiving this because you modified the open/close state.Message ID: @.***>