Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated jcenter repo #296

Open
lukas-vlcek opened this issue Aug 21, 2024 · 1 comment
Open

Remove deprecated jcenter repo #296

lukas-vlcek opened this issue Aug 21, 2024 · 1 comment
Labels
good first issue Good for newcomers

Comments

@lukas-vlcek
Copy link
Collaborator

How to replicate the warning:

./gradlew clean check --warning-mode all
Build file '/Users/lukas.vlcek/projects/prometheus-exporter/build.gradle': line 91
The RepositoryHandler.jcenter() method has been deprecated. This is scheduled to be removed in Gradle 9.0. JFrog announced JCenter's sunset in February 2021. Use mavenCentral() instead. Consult the upgrading guide for further information: https://docs.gradle.org/8.5/userguide/upgrading_version_6.html#jcenter_deprecation
        at build_bhirhg0ive4hpm14ov25a3i3c$_run_closure2.doCall$original(/Users/lukas.vlcek/projects/prometheus-exporter/build.gradle:91)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
        at build_bhirhg0ive4hpm14ov25a3i3c.run(/Users/lukas.vlcek/projects/prometheus-exporter/build.gradle:85)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
@lukas-vlcek lukas-vlcek added the good first issue Good for newcomers label Aug 21, 2024
@lukas-vlcek
Copy link
Collaborator Author

We already make use of mavenCentral() so just deleting the line should be fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant