sargue / mailgun

Java library to easily send emails using the Mailgun service
MIT License
153 stars 40 forks source link

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

Closed RahimRahimov closed 7 years ago

RahimRahimov commented 7 years ago

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 commented 7 years ago

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

RahimRahimov commented 7 years ago

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 commented 7 years ago

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