Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project dont build after new release #7

Open
mberkay opened this issue Apr 19, 2022 · 2 comments
Open

Project dont build after new release #7

mberkay opened this issue Apr 19, 2022 · 2 comments

Comments

@mberkay
Copy link

mberkay commented Apr 19, 2022

When I use the latest release I get an error when I build.

Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath:
class ktor_health_check.Health.Feature, unresolved supertypes: io.ktor.server.application.BaseApplicationPlugin

And when using

import ktor_health_check.Health
install(Health) {
...
}

Type mismatch: inferred type is Health.Feature but ApplicationFeature<TypeVariable(P), TypeVariable(B), TypeVariable(F)> was expected

Currently, I rollback to previous tags to solve the build issue.
gradle:
implementation("com.github.zensum:ktor-health-check:011a5a8")

@rbbl-dev
Copy link
Contributor

rbbl-dev commented Jul 6, 2022

on what ktor version are you?
i opened a PR to migrated to Ktor 2 and it got merged but they have not build a new Version with it as far as i can tell.
i want to use the ktor 2 compatible version myself now.

@pn can you build a new release and give it a proper version and not just the hash?
if you can't/don't wanna then i would fork it and publish it under my maven central namespace

@rbbl-dev
Copy link
Contributor

rbbl-dev commented Jul 24, 2022

@mberkay i've made the fork and its live on maven central. the package changed so you need to update the imports beyond that its the same. original Repo, Github mirror Repo

"Features" of the Fork:

  • Release CI
  • available on Maven Central
  • proper Versioning
  • kts Build Script for better Maintainability

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants