Skip to content

Fix deprecated jcenter() repository (removed in Gradle 9.0) #24

Description

@Besi97

Deprecation Warning

jcenter() is deprecated. JFrog announced JCenter sunset in February 2021. No new packages or versions are published there. Use mavenCentral() instead.

Where

  • plugins/gradle/example-server/build.gradle:59
  • plugins/gradle/example-client/build.gradle:101
repositories {
    jcenter()
    mavenCentral()
    mavenLocal()
}

Fix

Remove the jcenter() line:

repositories {
    mavenCentral()
    mavenLocal()
}

Removed in

Gradle 9.0

Resource

https://docs.gradle.org/8.14.3/userguide/upgrading_version_6.html#jcenter_deprecation

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions