-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish the library to a public repository #36
Comments
Any update on this, please? |
As a workaround, you should be able to use https://jitpack.io/ |
I really discourage using jitpack.io. It's a security nightmare. You can't verify that the artifacts are authentic. Including MTM in you Android projects as git submodule, which is really easy, is currently the only way to ensure that it's authentic. |
@Flowdalic you could use gralde-witness to lock down the hash of the build, and then link against a specific revision using Jitpack. (Or does the hash change on jitpack for every build?) But you're probably right, Submodules are probably the better solution (even though they're a pain to use properly with multiple contributors). |
Yes gradle-witness (or the alternatives mentioned in http://stackoverflow.com/a/34795359/194894) would help, given that Jitpack doesn't change the hash for stable artifacts. I find submodules preferable and easy to use (even with multiple contributors). Compared to consume the dependency as artifact, they allow you to directly make changes to the code and easily upstream it. |
It would be much more comfortable for users of the library if they could just add it as a maven dependency instead of integrating it at the source level. For this it should be published in a public repository like jcenter or maven central.
The text was updated successfully, but these errors were encountered: