Eufranio / MagiBridge

A Discord <-> Minecraft chat relay plugin
MIT License
47 stars 27 forks source link

Broken as dependency #220

Open confuser opened 3 years ago

confuser commented 3 years ago

Hi there, sponge builds of BanManager started failing recently. It seems to be a JDA issue coming from this plugin.

<dependency>
    <groupId>com.github.Eufranio</groupId>
    <artifactId>MagiBridge</artifactId>
    <version>api-7-SNAPSHOT</version>
    <scope>provided</scope>
</dependency>

results in

[ERROR] Failed to execute goal on project BanManagerSponge: Could not resolve dependencies for project me.confuser.banmanager:BanManagerSponge:jar:7.3.2-SNAPSHOT: Failure to find net.dv8tion:JDA:jar:4.2.1_253 

https://github.com/BanManagement/BanManager/runs/2300552912?check_suite_focus=true

Downgrading to an earlier version seems to resolve the issue:

<dependency>
  <groupId>com.github.Eufranio</groupId>
  <artifactId>MagiBridge</artifactId>
  <version>api-7-6ec024d1be-1</version>
  <scope>provided</scope>
</dependency>
Eufranio commented 3 years ago

JDA now has it's own repository, which consumers of the API must also import. See: https://github.com/Eufranio/MagiBridge/blob/api-7/build.gradle#L40 Add the repository and let me know if that fixes the issue.

confuser commented 2 years ago

@Eufranio it appears to be broken again. api-7-SNAPSHOT now only contains com.magitechserver.magibridge.common with EmptyNucluesDelegate, NucleusBridge and NucleusBridgeDelegate classes is an empty jar

https://github.com/BanManagement/BanManager/runs/6637382426?check_suite_focus=true