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

(Gradle)Failed to resolve jwt #58

Closed
devkai666 opened this issue Jul 18, 2016 · 4 comments
Closed

(Gradle)Failed to resolve jwt #58

devkai666 opened this issue Jul 18, 2016 · 4 comments

Comments

@devkai666
Copy link

Gradle Error:
Failed to resolve: com.auth0.java-jwt:2.2.1

What's happened?

@rafass90
Copy link

Hi, i try with jwt 2.2.1 and I got error too.

Try with compile group: 'com.auth0', name: 'java-jwt', version: '2.1.0'

It works fine for me.

@arcseldon
Copy link
Contributor

arcseldon commented Jul 21, 2016

@ComputerKaige / @rafass90 - Thanks for this info - in summary, are you saying that using Gradle and referencing as compile "com.auth0:java-jwt:2.2.0" is failing for you? That being the case, we shall investigate cause - fyi only - maven is working:

  <dependency>
            <groupId>com.auth0</groupId>
            <artifactId>java-jwt</artifactId>
            <version>2.2.0</version>
        </dependency>

@atabekm
Copy link

atabekm commented Jul 21, 2016

Seems there is a typo in Gradle section of README.md
Works when replacing period between com.auth0 and java-jwt to colon.

And similar to above, 2.2.1 version if not available in Gradle, though 2.2.0 is fine.

@arcseldon
Copy link
Contributor

@atabekm - thank you for the input.

Maven central lists what is available and provides required gradle snippet:

// https://mvnrepository.com/artifact/com.auth0/java-jwt
compile group: 'com.auth0', name: 'java-jwt', version: '2.2.0'

Shall update the README.

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

4 participants