Giter Club home page Giter Club logo

Comments (12)

martin-stone avatar martin-stone commented on July 30, 2024

Hi. Yes, that's the plan. I now have a sonatype account, but haven't had time to update the publish script.

from hsv-alpha-color-picker-android.

vulterey avatar vulterey commented on July 30, 2024

Hi Martin,

Thank you for your prompt answer.
Let me know when you do it, please.

Regards

Adam

BTW: Random question. Where or in which app/software you created your avatar? It looks really well made.

from hsv-alpha-color-picker-android.

martin-stone avatar martin-stone commented on July 30, 2024

It's stolen from some game art -- so would have been hand made by somebody with some artistic talent :-)

from hsv-alpha-color-picker-android.

vulterey avatar vulterey commented on July 30, 2024

Well, it is very persuading. I pictured you exactly like on this avatar ;) Thank you for your reply.

from hsv-alpha-color-picker-android.

martin-stone avatar martin-stone commented on July 30, 2024

Let's leave this issue open, to reflect the status of the task.

from hsv-alpha-color-picker-android.

martin-stone avatar martin-stone commented on July 30, 2024

Hi @vulterey. I've looked into Maven Central publishing and it involves a whole new set of dependencies that I'd rather not get entangled with, however JitPack seems to "just work". Could that be a solution for you? It's just a couple of changes to your build.gradle, documented in the updated Readme. Can you try it and confirm that it works for you? (It works effortlessly for me on my dependent project.)

from hsv-alpha-color-picker-android.

vulterey avatar vulterey commented on July 30, 2024

Got it right ;D

Steps:

In your gradle file:

  1. Remove from the dependencies section the line (if exists):
    implementation 'com.rarepebble:colorpicker:3.0.1'

  2. Remove from the repositories section the line (if exists):
    jcenter()

  3. Add to the dependencies section the line:
    implementation 'com.github.martin-stone:hsv-alpha-color-picker-android:3.0.1'

  4. Add to the repositories section the line:
    maven { url "https://jitpack.io" }

Example of the part of the gradle file:

...
repositories {
google()
maven { url "https://jitpack.io" }
}

dependencies {
implementation 'com.github.martin-stone:hsv-alpha-color-picker-android:3.0.1'
implementation fileTree(dir: 'libs', include: ['*.jar'])
...

I hope it will help others ;)

from hsv-alpha-color-picker-android.

martin-stone avatar martin-stone commented on July 30, 2024

Glad you got it working. I'll update the readme with instructions to replace the old com.rarepebble:colorpicker line (I'd been writing it from the perspective of a new user of the library.)

from hsv-alpha-color-picker-android.

vulterey avatar vulterey commented on July 30, 2024

Yes, it took me a while, but finally, I nailed it. Thank you very much for your quick help.

from hsv-alpha-color-picker-android.

ckhmer1 avatar ckhmer1 commented on July 30, 2024

Hello,
could You please upload also version 2 to mavenCentral?
I prefer it because it has fewer dependencies from the google libraries, and I don't use the androidx library to save space in my utility to be as small as possible.

Thanks
Claudio

from hsv-alpha-color-picker-android.

martin-stone avatar martin-stone commented on July 30, 2024

Hi @ckhmer1. Version 2 should also be usable via jitpack, as above. Have you tried it? (Pick any version number from the releases list.

from hsv-alpha-color-picker-android.

ckhmer1 avatar ckhmer1 commented on July 30, 2024

Hi,
I'm sorry, I didn't try yet.
I thought that the version 2 was not maintained anymore, i like It because it is quite smaller than the version 3, because doesn't depend by Android X.

Thanks again
Claudio

from hsv-alpha-color-picker-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.