herumi / mcl

a portable and fast pairing-based cryptography library
BSD 3-Clause "New" or "Revised" License
450 stars 152 forks source link

Add Android Studio project: "Mcl Android Lib" #95

Closed gallmann-ubique closed 1 year ago

gallmann-ubique commented 3 years ago

Hello. We use your mcl library in an Android Application and I have seen the open issue regarding Android support. In this PR I have included an Android Studio Library project. It can be used to very easily generate an aar file with the assemble task. The aar can then be importet into any Android project.

If you are interested I can also include the github action that automatically builds the aar and uploads it to bintray in this PR. Of course we can also help you to setup everything with bintray. This would make future usage of the mcl library on Android super easy since it could be included with one single line of code without any setup and building necessary.

herumi commented 3 years ago

Thank you for the useful patch. But I think that it is better to split mcl and the android project. I made a small repository https://github.com/herumi/mcl-android/ (but it is not enough). So could you a pull request to the repository?