-
Notifications
You must be signed in to change notification settings - Fork 5
Feature/maven artifacts #183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
fleskesvor
wants to merge
15
commits into
borgeby:main
Choose a base branch
from
fleskesvor:feature/maven-artifacts
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
51110e0
Fix core groupId
fleskesvor fd602cd
Add Maven publish workflow
fleskesvor 98a4a62
Install dependencies
fleskesvor 46c6df0
Set maven.compiler props
fleskesvor 79b98a8
Publish API package
fleskesvor 245b969
Add GitHub package registry as Maven repository
fleskesvor a891d00
Set actor env variable
fleskesvor 04e608d
Fix maven repository config
fleskesvor 0a12a01
Add clojars Maven repo
fleskesvor c6523bf
Build uberjar
fleskesvor 27e40e9
Add caching
fleskesvor f62a8f7
Change GitHub org to borgeby
fleskesvor 6b83677
Make fat API jar
fleskesvor 09be11a
Fix dependsOn for publish task
fleskesvor 62dc2c9
Exclude conflicting logger implementation from uberjar
fleskesvor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| name: Publish Maven artifacts | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - 'main' | ||
|
|
||
| jobs: | ||
| publish-api-artifact: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - uses: actions/setup-java@v4 | ||
| with: | ||
| java-version: '17' | ||
| distribution: 'temurin' | ||
| cache: 'gradle' | ||
|
|
||
| - name: Setup Gradle | ||
| uses: gradle/actions/setup-gradle@v4 | ||
|
|
||
| - name: Publish package | ||
| working-directory: ./api | ||
| run: ./gradlew publish | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a transitive dependency from "org.bitbucket.b_c/jose4j", which causes an issue with my demoproject. With this exclusion, I can at least build and run my demo project successfully, but there's a huge amount of debug log noise coming from Jarl, which I haven't been able to change yet.
Ideally, I'd want to get it to work with Logback, so that I can configure something like this in my
application.propertiesfile:to change the log level of my own code and Jarl independently. Actually, "info" should even be the default log level for Jarl, but even so, it would be nice to be able to configure its level easily at runtime. I'm not very familiar with this stuff, so I'll need to explore what my options are. Some quick reading suggests that log level is set at compile time with Timbre, but that can't be right.