How to use JMRTD in Android Studio, where is Gradle build system?

I am currently trying to use the open source JMRTD in an Android project, where it can read machine readable travel document (MRTD) standards. Based on what I read so far, gradle can support the maven artifact, so I need to define jmrtd as a dependency. It made me a little easier.

Secondly, is it necessary to use combo jmrtd + scuba in this project? One of my friends suggested I use the jmrtd + scuba ant file, which is being moved. But this is not a good idea and solution for me. It also discusses that (** I forgot what the link is), there are some problems with dependency on Scuba and JMRTD, where in maven repo, created by the ant build system file, it actually contains duplicates of each class. And gradle will not allow this and will cause the build to fail.

So, back to the main question: How to use JMRTD in Android Studio, where is the Gradle build system? And which element or library should I use together? I have nowhere to find jrmtd's implementation and guidance in gradle.

+4
source share

Source: https://habr.com/ru/post/1617365/


All Articles