Skip to content
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

Publishing to MavenCentral #25

Merged
merged 4 commits into from
Apr 25, 2024
Merged

Publishing to MavenCentral #25

merged 4 commits into from
Apr 25, 2024

Conversation

gerak-cz
Copy link
Collaborator

@gerak-cz gerak-cz commented Apr 24, 2024

There are 3 commits:

  1. The whole namespace was renamed to io.github.cleverlance to match the verified namespace on MavenCentral.
  2. MavenCentral publishing using a very nippy Gradle plugin that automatically detects the type of publication for each module.
  3. Very basic workflow that should take 3 numbers (major, minor, and patch version) and publish the library to MavenCentral.

I am not satisfied with the Publish workflow because you must not make a manual mistake when publishing. But as an MVP, it is acceptable IMO. Mainly, I need to verify all these concepts and it cannot be done in a pull request. I will iterate further, once the contents of this pull request have been tested.

EDIT: Added 4th commit, adding a package to the generated file.

@gerak-cz gerak-cz requested a review from RadekKuzel April 24, 2024 14:17
@gerak-cz gerak-cz changed the title Publishing to MavenCentral Draft: Publishing to MavenCentral Apr 24, 2024
@gerak-cz gerak-cz force-pushed the feature/maven-central branch from eb1fc5d to 142ac63 Compare April 24, 2024 14:34
@gerak-cz gerak-cz changed the title Draft: Publishing to MavenCentral Publishing to MavenCentral Apr 24, 2024
@gerak-cz gerak-cz force-pushed the feature/maven-central branch from 142ac63 to 70aa4cc Compare April 24, 2024 14:56
@gerak-cz gerak-cz force-pushed the feature/maven-central branch 2 times, most recently from d8705e0 to e6f05bc Compare April 25, 2024 11:08
build.gradle.kts Outdated Show resolved Hide resolved
@gerak-cz gerak-cz force-pushed the feature/maven-central branch from e6f05bc to 88e0059 Compare April 25, 2024 11:49
@gerak-cz gerak-cz merged commit c2858a0 into main Apr 25, 2024
1 check passed
@gerak-cz gerak-cz deleted the feature/maven-central branch April 25, 2024 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants