Skip to content

Commit

Permalink
fix the build
Browse files Browse the repository at this point in the history
  • Loading branch information
alingse committed Nov 21, 2024
1 parent 4f7ef8a commit 260b58a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions java/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
id 'java'
id("maven-publish")
}

repositories {
Expand All @@ -21,3 +22,17 @@ jar {
test {
useJUnitPlatform()
}


publishing {
repositories {
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/thrift-labs/thrift-parser"
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}

0 comments on commit 260b58a

Please sign in to comment.