Giter Site home page Giter Site logo

Comments (6)

mirceanis avatar mirceanis commented on September 26, 2024 1

In kethereum 0.75 there was still some confusion about the walleth namespace vs komputing
The next version of kotlin-did-jwt should remove any reference to the walleth namespace.
Which version are you on?

You can try using did_jwt_version = "29aa080e" and implementation "com.github.komputing.kethereum:wallet:$kethereum_version" with the version being kethereum_version = "0.76.1" to check if it fixes it for you, or point to a project that's manifesting the errors so I can test on my end.

from kotlin-did-jwt.

mirceanis avatar mirceanis commented on September 26, 2024

Thanks for reporting this.
I used the camel case names to match the repository names of Komputing/KEthereum.
It seems that jitpack sees them as separate artifacts but gradle either doesn't or gets confused.
To correctly fix this we'll need to update kotlin-common and kmnid too since they also use the camel case names.

from kotlin-did-jwt.

friedger avatar friedger commented on September 26, 2024

This is the message I get from gradle:

Duplicate class org.kethereum.ValuesKt found in modules model-0.75.1.jar (com.github.komputing.KEthereum:model:0.75.1) and model-0.75.1.jar (com.github.walleth.kethereum:model:0.75.1)
Duplicate class org.kethereum.crypto.ConvertersKt found in modules crypto-0.75.1.jar (com.github.komputing.KEthereum:crypto:0.75.1) and crypto-0.75.1.jar (com.github.walleth.kethereum:crypto:0.75.1)

I don't see any upper case for kotlin-common and kmnid

from kotlin-did-jwt.

friedger avatar friedger commented on September 26, 2024

I still get the error with the updated version. The project is https://github.com/blockstack/app-android

from kotlin-did-jwt.

friedger avatar friedger commented on September 26, 2024

A work around would be to use KEtherum in my project's depedencies.

Now, it is a question of convention: show dependencies in build.gradle be lower case only?

from kotlin-did-jwt.

mirceanis avatar mirceanis commented on September 26, 2024

I did not realize this was an issue before so perhaps we should adopt this convention.
I guess this is a bigger problem on systems where files are case insensitive, so to avoid problems like that we'll keep everything lowercase here as well.

We already have a dependency refactoring in the works:
#22

Stay tuned for the next release which should ameliorate these import issues.

from kotlin-did-jwt.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.