JDA-Utilities icon indicating copy to clipboard operation
JDA-Utilities copied to clipboard

Migrate to something else than Bintray

Open Sculas opened this issue 3 years ago • 7 comments

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?

Sculas avatar May 01 '21 19:05 Sculas

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)

Andre601 avatar May 01 '21 20:05 Andre601

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

Chew avatar May 23 '21 22:05 Chew

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

Andre601 avatar May 23 '21 22:05 Andre601

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

Sanduhr32 avatar May 24 '21 00:05 Sanduhr32

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 avatar Aug 30 '21 13:08 arthurfiorette

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

arthurfiorette avatar Aug 30 '21 13:08 arthurfiorette

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

Chew avatar Oct 02 '21 04:10 Chew