Comments (12)
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.
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.
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.
Well, it is very persuading. I pictured you exactly like on this avatar ;) Thank you for your reply.
from hsv-alpha-color-picker-android.
Let's leave this issue open, to reflect the status of the task.
from hsv-alpha-color-picker-android.
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.
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 ;)
from hsv-alpha-color-picker-android.
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.
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.
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.
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.
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)
- getColor() doesn't always return latest value HOT 2
- After hex value is deleted, color changes to transparent even though colorpicker_showAlpha is set to false HOT 2
- ColorPreference: read from disk on UI thead HOT 2
- When creating ColorPreference programmatically defaultValue not works HOT 2
- Impossible to use the library on android P HOT 1
- defaultValue does not work anymore on older devices HOT 4
- public constructor for ObservableColor HOT 2
- Setting color with low brightness leads to different colors HOT 3
- Default button sets a wrong color 888888 HOT 9
- java.lang.ClassCastException: com.rarepebble.colorpicker.ColorPreference cannot be cast to androidx.preference.Preference HOT 3
- modification of the demo app
- Migrate to AndroidX HOT 1
- Dark Theme how to implement HOT 3
- Non-SharedPreference based projects HOT 1
- Question: Use of Enter key to confirm HEX colour change
- Colors not displaying properly with darkmode HOT 2
- Add support for PreferenceDataStore HOT 2
- Infrequent Crashing with Resources$NotFoundException HOT 1
- Large default values not working HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hsv-alpha-color-picker-android.