Skip to content

Commit

Permalink
try publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
balazskreith committed Aug 10, 2022
1 parent 1cfd172 commit 8b7042a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
build/
.idea/
.gradle/
.gradle/
keys/
16 changes: 12 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,21 @@ dependencies {
publishing {
repositories {
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/balazskreith/hamok"
name = "OSSRH"
url = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
username = System.getenv("MAVEN_USERNAME")
password = System.getenv("MAVEN_PASSWORD")
}
}
// maven {
// name = "GitHubPackages"
// url = "https://maven.pkg.github.com/balazskreith/hamok"
// credentials {
// username = System.getenv("GITHUB_ACTOR")
// password = System.getenv("GITHUB_TOKEN")
// }
// }
}
publications {
gpr(MavenPublication) {
Expand Down

0 comments on commit 8b7042a

Please sign in to comment.