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

Transitive dependencies need to be added manually #5

Open
davidvavra opened this issue Jan 23, 2025 · 0 comments
Open

Transitive dependencies need to be added manually #5

davidvavra opened this issue Jan 23, 2025 · 0 comments

Comments

@davidvavra
Copy link
Contributor

The library uses two dependencies which are part of the API and need to be used by the library user as well. But even though we mark them as api instead of implementation, they are mapped to runtime scope in resulting pom.xml instead of compile scope.

I tested that using java-library plugin fixes this, but that's not compatible with KMP.

Not sure if this is a bug of maven-deployer plugin, I created an issue there.

As a workaround, add these dependencies into your project manually:

implementation 'com.ionspin.kotlin:bignum:0.3.10'
implementation 'org.jetbrains.kotlinx:kotlinx-datetime:0.6.1'
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

1 participant