Skip to content

Commit

Permalink
CI: replace deprecated jcenter (#210)
Browse files Browse the repository at this point in the history
# Goal
The goal of this PR is fix the PR due to 

Closes #209
  • Loading branch information
aramikm authored Aug 12, 2024
1 parent 451043b commit 5e23bcc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions java/example-graphsdk-client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ java.sourceCompatibility = JavaVersion.VERSION_17

// Use the 'repositories' block to declare where to find your dependencies
repositories {
// Use 'jcenter' for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()

// Add the GitHub Packages repository as a source for resolving dependencies
maven {
name = "GithubPackages"
Expand All @@ -30,6 +26,11 @@ repositories {
password = project.findProperty("gpr.key") as String? ?: System.getenv("GITHUB_TOKEN")
}
}

// You can declare any Maven/Ivy/file repository here.
mavenLocal()
mavenCentral()
maven("https://jitpack.io")
}

dependencies {
Expand Down

0 comments on commit 5e23bcc

Please sign in to comment.