In your main project, create a module. copy the lib/src content of this lib in your new module. enjoy the lib.
you can ask me here if you need more details but i think it's straight forward and easy to maintain it this way.
it also does not require a lot of the dependencies that are in its build.gradle file, that's why you only need the src