Skip to content

Fix: Replace deprecated JCenter repository with MavenCentral#1481

Open
shantanu-19 wants to merge 3 commits intofossasia:developmentfrom
shantanu-19:fix/jcenter-build-error
Open

Fix: Replace deprecated JCenter repository with MavenCentral#1481
shantanu-19 wants to merge 3 commits intofossasia:developmentfrom
shantanu-19:fix/jcenter-build-error

Conversation

@shantanu-19
Copy link

Issue
The build fails for new environments because jcenter() is deprecated and cannot resolve the shadow plugin or dependencies.

Fix

  • Replaced jcenter() with mavenCentral() and gradlePluginPortal().
  • Updated shadow plugin to version 4.0.4 to support new repositories while maintaining Java 8 compatibility.

Verification

  • Ran ./gradlew build -x test successfully.
  • Verified server starts on localhost:4000.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant