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

This is not an issue. I just want to explain how to use this library on Android #12

Closed
RahimRahimov opened this issue Apr 28, 2017 · 3 comments
Labels

Comments

@RahimRahimov
Copy link

RahimRahimov commented Apr 28, 2017

Add this lines to gradle dependencies and configurations modules.
That is it. So after this steps you can use this library on android.

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'net.sargue:mailgun:1.3.2'
}
configurations {
compile.exclude group: 'javax.inject', module: 'javax.inject'
}

@sargue sargue added the android label Apr 30, 2017
@sargue
Copy link
Owner

sargue commented Apr 30, 2017

Seems that you are pinning jersey to version 2.18, is that all that you need to do to use it?

@RahimRahimov
Copy link
Author

My answer was updated. Android developers need just add configurations "compile.exclude group: 'javax.inject', module: 'javax.inject'" to be able to use your library.

@sargue
Copy link
Owner

sargue commented Apr 30, 2017

That was discussed in issue #1 . Closing this and updating main README. Thanks for reporting.

@sargue sargue closed this as completed Apr 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants