I'm new to Android Studio, and I want to include an OAuth2 client implementation to use in my application.
The client is just posted as a collection of source files. Ideally, I'd like to be able to include the classes automatically using gradle, but it doesn't seem like that's possible if it's not at least supporting Maven. I'd like to at least include the code in my project as a git submodule, so I can rely on git to integrate any future changes in the client library.
From what I can gather, I think the right way to include a library in a project would be as a module. It doesn't seem like there's any way to create a new module with existing source. The only thing I can figure out to do is create a new module and move the source files into that module, but that seems really messy. Is that really my only option to include this kind of code?