Upload to maven central? #38
Comments
I have never done this before. Any suggestions or tutorials that you recommend for how to do this? |
I second the motion, and hope I can give a bit of help. |
@DjBushido What about test cases? Can they be kept along with the package? |
@bluejamesbond Depends. The android test cases would have to reside alongside the Android project of course, but the DocumentView-specific tests can (and should) be moved to the new project. Publishing will release only the actual source code, and will not put the testing code in production. |
@DjBushido Oh I see! And what about the gradle stuff? |
@bluejamesbond Not sure what you mean. Gradle will still manage building the project, and will also handle releasing the artifact as a Maven dependency into Bintray/JCenter (though I expect you'll need a plugin like this). You'll need a separate build.gradle for the DocumentView itself, but the idea is to factor out the standalone bits so everyone can re-use it. |
@DjBushido Thanks |
Done. compile 'com.github.bluejamesbond:textjustify-android:2.0.1' |
Awesome, thanks for this! So excited to start using it. |
Are you planning to upload this neat library to Maven Central? It would certainly make it more accessible for new developers to include the project with a one-liner in their gradle config. :)
The text was updated successfully, but these errors were encountered: