Skip to content
This repository has been archived by the owner on Feb 4, 2025. It is now read-only.

Migrate to something else than Bintray #127

Open
Sculas opened this issue May 1, 2021 · 7 comments
Open

Migrate to something else than Bintray #127

Sculas opened this issue May 1, 2021 · 7 comments

Comments

@Sculas
Copy link

Sculas commented May 1, 2021

Bintray has been shut down as of today meaning from February 2022 no one will be able to download this anymore that doesn't have it cached. Can JDA-Utilities be migrated to something else so it works again?

@Andre601
Copy link
Contributor

Andre601 commented May 1, 2021

People can still download this through jitpack.io, but it's a bit more complicated to do (i.e. you can't download modules individually)

@Chew
Copy link

Chew commented May 23, 2021

Looks like it's not a huge priority anymore: image

@Andre601
Copy link
Contributor

It's still one if this lib ever gets updated again

@Sanduhr32
Copy link

Sanduhr32 commented May 24, 2021

It's planned that JDA Utils migrates to m2.dv8tion.net afaik ty.
So the same repo host as JDA, Lavaplayer & etc.

@arthurfiorette
Copy link

I think there should be a second option in readme to prevent unaware users from using an deprecated repository.
As mentioned by @Andre601, jitpack seems a good idea. And you can download modules individually

@arthurfiorette
Copy link

arthurfiorette commented Aug 30, 2021

If anyone is willing to use it with jitpack, you can use it like this:

this is a maven example, but you can also use with gradle
Jitpack link for this repo

<!-- Jitpack repo -->
<repository>
  <id>jitpack.io</id>
  <url>https://jitpack.io</url>
</repository>

<!-- All modules -->
<dependency>
  <groupId>com.github.JDA-Applications</groupId>
  <artifactId>JDA-Utilities</artifactId>
  <!-- Latest commit hash when i wrote this-->
  <version>6069f9d</version>
</dependency>

<!-- Specific module -->
<dependency>
  <groupId>com.github.JDA-Applications.JDA-Utilities</groupId>
  <artifactId>commons</artifactId>
  <!-- Latest commit hash when i wrote this-->
  <version>6069f9d</version>
</dependency>

EDIT: Since there are no github versions, you need to specify a commit hash. (See more

@Chew
Copy link

Chew commented Oct 2, 2021

This is now being mirrored to my repo (that houses JDA-Chewtils)

Maven:

  <dependency>
    <groupId>com.jagrosh</groupId>
    <artifactId>jda-utilities</artifactId>
    <version>3.1.0</version>
    <scope>compile</scope>
    <type>pom</type>
  </dependency>
  <dependency>
    <groupId>net.dv8tion</groupId>
    <artifactId>JDA</artifactId>
    <version>JDA-VERSION</version>
  </dependency>
  <repository>
    <id>chew</id>
    <url>https://m2.chew.pro/releases</url>
  </repository>

Gradle (groovy):

dependencies {
    implementation 'com.jagrosh:jda-utilities:3.1.0'
}

repositories {
    maven { url "https://m2.chew.pro/releases" }
}

Gradle (Kotlin):

dependencies {
    implementation("com.jagrosh:jda-utilities:3.1.0")
}

repositories {
    maven { url = uri("https://m2.chew.pro/releases") }
}

I will probably PR how I handle the repo handling for Mr jagrosh, assuming it uses the same method for publishing. Idk how y'all do that lol

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants