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

Call library from Java #14

Open
mataide opened this issue Aug 27, 2019 · 3 comments
Open

Call library from Java #14

mataide opened this issue Aug 27, 2019 · 3 comments

Comments

@mataide
Copy link

mataide commented Aug 27, 2019

I tried to implement the lib inside a Java Project, but I was not able to call the library from the Java Project.

Its missing something?

@K1rakishou
Copy link
Owner

K1rakishou commented Aug 29, 2019

This library uses some Kotlin only libraries (like coroutines and ktor) which must to be included in your project. It's just not supposed to be used with java.

@mataide
Copy link
Author

mataide commented Aug 29, 2019

@K1rakishou, it was missing some configurations in the project to compile this as a library. I had to convert the project from Maven to Gradle to make this configurations and make it work. Now you can also publish it to Maven, do you want that I make a PR with this?

@K1rakishou
Copy link
Owner

Sure.

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