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

Kotlin Project interoperability? #11

Open
erdeminanc opened this issue Jan 19, 2021 · 2 comments
Open

Kotlin Project interoperability? #11

erdeminanc opened this issue Jan 19, 2021 · 2 comments

Comments

@erdeminanc
Copy link

Hello @dankito , thanks for the project.

It may sound a silly question as the project is alreaady written in Kotlin. However, I couldn't make it work on Kotlin Gradle project like so:

implementation ("net.dankito.readability4j:readability4j:1.0.5")

but works on Java Gradle project somehow. 😕

@dankito
Copy link
Owner

dankito commented Jan 22, 2021

Hi Erdem,

really curious as i'd say you did everything right.

What error message did you get? Did a Gradle sync help? Did importing other libraries from Maven Central in the same Gradle file work? Let me know your error message.

Cheers,
dankito

@erdeminanc
Copy link
Author

Hi dankito,

Thanks for reply.

Gradle syncs without any error, other Gradle libs also work... but Readability4J instance doesn't resolve (or import) on project Kotlin classes. I also started a Java Project with Gradle, it works in this case.

Best,
Erdem

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