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

Migration repository to Maven Central #269

Closed
3 tasks done
stachu540 opened this issue Feb 4, 2021 · 4 comments
Closed
3 tasks done

Migration repository to Maven Central #269

stachu540 opened this issue Feb 4, 2021 · 4 comments

Comments

@stachu540
Copy link
Contributor

stachu540 commented Feb 4, 2021

Prerequisites

  • If this is a question/suggestion, I have already considered discuss it on Discord Server
  • This issue specifically has something to do with Twitch4J
  • I have attempted to look for similar issues already

Description

The JCenter repository going shuts down May 1st. Before in fact submissions will be accepted till Feburay 28th April 1st, after that there will be NO more relases in JCenter. Unfortunate previous releases will be mostly suffer, because there will be not able to download oldest releases after sunset.

Solutions

Following by this guide

  • Create GPG Key
  • Create com.github.twitch4j namespace
  • Implement GPG Key and Passphrase into CI

Alternatives

Use Jitpack to distribute repository / hosting to GitHub Packages - no more alts. Starting deploy central April 1st.

Additional context

Reference topic: https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/

stachu540 added a commit to stachu540/twitch4j that referenced this issue Feb 4, 2021
* auto-commits each second friday at 10PM GMT
* added configuration file `release.config.js` - see https://github.com/semantic-release/semantic-release

You don't need adding `/slack` into `DISCORD_WEBHOOK` secrets.

Reference `SONATYPE_*` and `GPG_PASSPHRASSE` environments: twitch4j#269
stachu540 added a commit to stachu540/twitch4j that referenced this issue Feb 5, 2021
@stachu540
Copy link
Contributor Author

Affected packages:

  • com.github.phillipheuer

Recommend: Merge to this repository.

@PhilippHeuer
Copy link
Member

The credentialManager + events4j will move to central too. Those are the only projects in com.github.philipheuer if i remember correctly.

@stachu540
Copy link
Contributor Author

Using this following solutions, I will starting test it my repos. Honestly, I was getting used to it with the jcenter repo.

iProdigy added a commit that referenced this issue Apr 29, 2021
* build: gradle bump - 6.7.1

* build: refactor to kotlin dsl

with extended functions in `buildSrc` and `gradle.properties` (group and version)

* chore: adding `.github/dependabot.yml`

for kotlin dsl builds. Dependabot preview will not work for the kotlin dsl builds.

* build(gradle): migrate dependencies to depenencies.kt file

resolve conflict with configurations. For later

* fix(gradle): fix build duplication issue

Mentioned in discord private chat, and i guess i can ready to merge that

* fix(gradle): versioning

gradle build incorrect version between lombok and project

* build(gradle): build updates

Adapt to #269

* deps: bumping gradle to 6.8.1

* chore: update deps to equal current develop

* chore: gradle 7 / a few other changes

* chore: link code of conduct from .github repo / change dependabot config

* chore: Update build.gradle.kts

backtick quoting is not needed for that

* feat: update lombok to v1.18.20

Co-authored-by: Damian Staszewski <359222+stachu540@users.noreply.github.com>

* docs: update README.md

update badges:
- adds javadoc
- add link to central
- "WIKI" names renamed to "documentation" and colored to "grey"
- all badges style are flat (not square)

* chore: updating files

`project.kt` - CI Management to GitLab Pipelines - for now
`globals.kt` - artifactId variable listing adjustment for better readable code lookup

* chore: adding manifest plugin to auto-generate

* fix: bucket4j dependency

* Update build.gradle.kts

Co-authored-by: Sidd <iProdigy@users.noreply.github.com>

* deps: bump `com.github.johnrengelman.shadow`

* fix: set the correct artifactId's for each module

Co-authored-by: Philipp Heuer <git@philippheuer.me>
Co-authored-by: Philipp Heuer <philipp.heuer@outlook.com>
Co-authored-by: Sidd <iProdigy@users.noreply.github.com>
@stachu540
Copy link
Contributor Author

Resolved in #243 and #229

@iProdigy iProdigy closed this as completed Feb 1, 2024
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

No branches or pull requests

3 participants