Skip to content

Commit

Permalink
ci: Allow publishing release to central
Browse files Browse the repository at this point in the history
  • Loading branch information
bric3 committed Aug 18, 2022
1 parent f4dca89 commit d044a32
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ jobs:
ORG_GRADLE_PROJECT_ossrhUsername: ${{ secrets.ORG_GRADLE_PROJECT_OSSRHUSERNAME }}
ORG_GRADLE_PROJECT_ossrhPassword: ${{ secrets.ORG_GRADLE_PROJECT_OSSRHPASSWORD }}
with:
arguments: publish
arguments: publish -Ppublish.central=true

4 changes: 4 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ configure(fireplaceModules) {
}

tasks {
withType(JavaCompile::class) {
options.encoding = "UTF-8"
}

withType(Jar::class) {
metaInf.with(licenseSpec)
}
Expand Down

0 comments on commit d044a32

Please sign in to comment.