feat: Publish on Maven Central#16
Merged
Aviortheking merged 10 commits intomasterfrom Mar 11, 2026
Merged
Conversation
Add functionality to retrieve Git metadata for versioning
This workflow builds a Gradle package and publishes it to GitHub Packages upon release creation.
Comment out the tags section in the publish workflow.
| delete(rootProject.buildDir) | ||
| delete(project.buildDir) | ||
| } | ||
| } No newline at end of file |
There was a problem hiding this comment.
🚫 [ktlint] standard:final-newline reported by reviewdog 🐶
File must end with a newline (\n)
| fun String.runCommand( | ||
| workingDir: File = File("."), | ||
| timeoutAmount: Long = 60, | ||
| timeoutUnit: TimeUnit = TimeUnit.SECONDS |
There was a problem hiding this comment.
🚫 [ktlint] standard:trailing-comma-on-declaration-site reported by reviewdog 🐶
Missing trailing comma before ")"
| workingDir: File = File("."), | ||
| timeoutAmount: Long = 60, | ||
| timeoutUnit: TimeUnit = TimeUnit.SECONDS | ||
| ): String = ProcessBuilder(split("\\s(?=(?:[^'\"`]*(['\"`])[^'\"`]*\\1)*[^'\"`]*$)".toRegex())) |
There was a problem hiding this comment.
🚫 [ktlint] standard:multiline-expression-wrapping reported by reviewdog 🐶
A multiline expression should start on a new line
| workingDir: File = File("."), | ||
| timeoutAmount: Long = 60, | ||
| timeoutUnit: TimeUnit = TimeUnit.SECONDS | ||
| ): String = ProcessBuilder(split("\\s(?=(?:[^'\"`]*(['\"`])[^'\"`]*\\1)*[^'\"`]*$)".toRegex())) |
There was a problem hiding this comment.
🚫 [ktlint] standard:function-signature reported by reviewdog 🐶
Newline expected before expression body
|
|
||
| val libGroup = "com.dzeio" | ||
| val libArtifact = "crashhandler" | ||
| val libVersion = System.getenv("version") ?: tag.drop(1).ifEmpty { |
There was a problem hiding this comment.
🚫 [ktlint] standard:multiline-expression-wrapping reported by reviewdog 🐶
A multiline expression should start on a new line
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add functionality to retrieve Git metadata for versioning