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

Duplicate classes #28

Open
friedger opened this issue Sep 20, 2019 · 1 comment
Open

Duplicate classes #28

friedger opened this issue Sep 20, 2019 · 1 comment

Comments

@friedger
Copy link
Contributor

friedger commented Sep 20, 2019

I have imported verion 0.3.2 in my project (https://github.com/blockstack/blockstack-app-android).

I now get duplicate class exception during ./gradlew app:assembleDebug for:

com.github.komputing.KHash:keccak-jvm
com.github.komputing.KHash:khash-extensions-jvm

Probably a dependency of komputing/KEthereum#73

@mirceanis
Copy link
Collaborator

This sounds familiar.
I think this is why the kethereum libs were also case sensitive in the first place.
I would prefer to have everything lowercase, it creates less confusion.
To fix the everything we should also contribute a fix to kethereum to use the lowercase coordinates.

There are workarounds to force transitive dependencies to behave a certain way but I don't have access to a laptop at the moment to provide them.

Another workaround, if you don't need the latest features is to use the previous release and also import kethereum using camelcase coordinates.

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