Code Monkey home page Code Monkey logo

Comments (9)

mathew-kurian avatar mathew-kurian commented on July 28, 2024

I have never done this before. Any suggestions or tutorials that you recommend for how to do this?

from textjustify-android.

bspeice avatar bspeice commented on July 28, 2024

I second the motion, and hope I can give a bit of help.
First things first, you would need to refactor out the bits specific to DocumentView into their own project and repository.
Secondly, there are instructions over here on how to upload the artifact to Bintray, which isn't Maven Central, but will likely be far easier to manage.
I'm very interested in using DocumentView, would be happy to help if there's something I can do.

from textjustify-android.

mathew-kurian avatar mathew-kurian commented on July 28, 2024

@DjBushido What about test cases? Can they be kept along with the package?

from textjustify-android.

bspeice avatar bspeice commented on July 28, 2024

@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.

from textjustify-android.

mathew-kurian avatar mathew-kurian commented on July 28, 2024

@DjBushido Oh I see! And what about the gradle stuff?

from textjustify-android.

bspeice avatar bspeice commented on July 28, 2024

@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.

from textjustify-android.

mathew-kurian avatar mathew-kurian commented on July 28, 2024

@DjBushido Thanks

from textjustify-android.

mathew-kurian avatar mathew-kurian commented on July 28, 2024

Done.

compile 'com.github.bluejamesbond:textjustify-android:2.0.1'

from textjustify-android.

bspeice avatar bspeice commented on July 28, 2024

Awesome, thanks for this! So excited to start using it.

from textjustify-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.