Closed vulterey closed 2 years ago
Hi. Yes, that's the plan. I now have a sonatype account, but haven't had time to update the publish script.
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.
It's stolen from some game art -- so would have been hand made by somebody with some artistic talent :-)
Well, it is very persuading. I pictured you exactly like on this avatar ;) Thank you for your reply.
Let's leave this issue open, to reflect the status of the task.
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.)
Got it right ;D
Steps:
In your gradle file:
Remove from the dependencies section the line (if exists): implementation 'com.rarepebble:colorpicker:3.0.1'
Remove from the repositories section the line (if exists): jcenter()
Add to the dependencies section the line: implementation 'com.github.martin-stone:hsv-alpha-color-picker-android:3.0.1'
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 ;)
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.)
Yes, it took me a while, but finally, I nailed it. Thank you very much for your quick help.
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
Hi @ckhmer1. Version 2 should also be usable via jitpack, as above. Have you tried it? (Pick any version number from the releases list.
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
Hi Martin,
Is there any chance you will migrate repository from jcenter to mavenCentral soon?
Kind Regards Adam