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

Not possible to build IRIDA v23 due to missing khttp 1.0.0 dependency #1568

Open
kbessonov1984 opened this issue Jan 14, 2025 · 0 comments
Open
Labels

Comments

@kbessonov1984
Copy link
Contributor

Describe the bug

When building IRIDA source code version 23.* there is a missing deprecated khttp dependency.

Steps to reproduce the problem

  1. git clone https://github.com/phac-nml/irida.git && cd /irida/ && git checkout 23.10.1 -b master
  2. cd irida && ./gradlew clean publishToMavenLocal -xtest

Expected behaviour

Successfully build IRIDA source code and dependencies. Use built IRIDA source code to compile IRIDA plugin

Additional context

The error is as follows

Could not resolve all files for configuration ':classpath'.
> Could not find khttp:khttp:1.0.0.
     Searched in the following locations:
       - https://repo.spring.io/milestone/khttp/khttp/1.0.0/khttp-1.0.0.pom
       - https://plugins.gradle.org/m2/khttp/khttp/1.0.0/khttp-1.0.0.pom

Note the same issue was reported at springdoc/springdoc-openapi-gradle-plugin#91 where they removed the khttp dependency.

Note2: IRIDA v24.12 compiles without the issue so it is a matter of updating the build.gradle.kts file.

Note 3: provided resolution will help other developers to modify the build.gradle.kts file and successfully compile this version of IRIDA that is currently recommended as the one to build IRIDA plugin source code

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

No branches or pull requests

1 participant