Skip to content

Commit

Permalink
Configured GitHubPackages
Browse files Browse the repository at this point in the history
  • Loading branch information
behrangsa committed Oct 19, 2023
1 parent 5ade757 commit 82db430
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 12 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,19 @@ java {
}

publishing {
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/behrangsa/walker-algorithm")
credentials {
username = project.findProperty("gpr.user") ?: System.getenv("USERNAME")
password = project.findProperty("gpr.key") ?: System.getenv("TOKEN")
}
}
}

publications {
maven(MavenPublication) {
gpr(MavenPublication) {
from(components.java)
}
}
Expand Down

0 comments on commit 82db430

Please sign in to comment.