adam icon indicating copy to clipboard operation
adam copied to clipboard

Is it supported by Java projects?

Open westinyang opened this issue 4 years ago • 2 comments

Is it supported by Java projects?

westinyang avatar Dec 29 '21 03:12 westinyang

Hey @westinyang

Do you mean projects that are written in plain Java or mixed Java + Kotlin projects?

For pure Java it is going to be a bit problematic since calling suspend functions is done using kotlinc, so you would need to wrap the required functions in a Java wrapper.

If it's a Java + Kotlin project then there should be no problem using this library.

Malinskiy avatar Dec 29 '21 08:12 Malinskiy

Hey @westinyang

Do you mean projects that are written in plain Java or mixed Java + Kotlin projects?

For pure Java it is going to be a bit problematic since calling suspend functions is done using kotlinc, so you would need to wrap the required functions in a Java wrapper.

If it's a Java + Kotlin project then there should be no problem using this library.

Thank you for your answer, I'm talking about pure Java projects, I haven't used Kotlin basically, but theoretically they all run on the JVM, I guess they should be seamless, I've tried Kotlin using third party Java libraries with no problem. I will come back to comment on this issue after a practical test. Thanks again!

westinyang avatar Dec 31 '21 15:12 westinyang

I'm closing this due to inactivity. Feel free to reopen if you want to continue the discussion

Malinskiy avatar Jan 31 '23 15:01 Malinskiy