colorpicker icon indicating copy to clipboard operation
colorpicker copied to clipboard

Jcenter deprecation

Open melihcelenk opened this issue 3 years ago • 1 comments

Hello, thank you for your work.

I am using your library with jcenter() on my gradle. However when I build I see jcenter was deprecated and instead I'm using mavenCentral() for your 1.1.10 version but it says "Unable to resolve dependency"

I tried also 1.1.7 and 1.1.5 ( by using implementation 'petrov.kristiyan:colorpicker-library:1.1.5' )

and by adding

maven { url "https://dl.bintray.com/petrovkristiyan/maven" }

into repositories, but it didn't work when I delete jcenter. And as I read jcenter will be down on 2022-02-01

melihcelenk avatar Sep 05 '21 11:09 melihcelenk

hello, Did you find a fix for this? I am a beginner currently facing the same kind of issues when using the above.

At the time of posting this, jcenter is already down and mavenCentral() is being used instead.

I have followed most necessary steps as well as implemented the new changes such as adding the following code into the settings.gradle rather than the build.gradle:

`pluginManagement {

repositories {

   gradlePluginPortal()

   google()

    mavenCentral()

} }

`

dependencyResolutionManagement {

repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)

repositories {

    maven { url 'https://www.jitpack.io' }

    google()

    mavenCentral()

    //jcenter() // Warning: this repository is going to shut down soon

}

}

`

Pardon my editing.

petros-kasoka avatar Jun 13 '22 17:06 petros-kasoka