code icon indicating copy to clipboard operation
code copied to clipboard

Fail to resolve jar of a maven dependency

Open Minenash opened this issue 1 year ago • 1 comments

Please confirm the following.

Describe the bug

(This happens to all versions of this project) Gradle isn't able to find the jar file for this version: Version Link: https://modrinth.com/plugin/axiom-paper-plugin/version/rgf4Xaj0 Tested dependencies:

  • compileOnly("maven.modrinth:rgf4Xaj0")
  • compileOnly("maven.modrinth:axiom-paper-plugin:4.0.1-1.21.1")

Error:

> Could not resolve all files for configuration ':modImplementation'.
   > Could not find axiom-paper-plugin-4.0.1-1.21.1.jar (maven.modrinth:axiom-paper-plugin:4.0.1-1.21.1).
     Searched in the following locations:
         https://api.modrinth.com/maven/maven/modrinth/axiom-paper-plugin/4.0.1-1.21.1/axiom-paper-plugin-4.0.1-1.21.1.jar

Steps to reproduce

  1. Add modrinth maven to your repositories
  2. Try to depend on a version from this project
  3. See error

Expected behavior

For it to find the jar

Additional context

https://discord.com/channels/734077874708938864/1285916517485248623

Minenash avatar Sep 19 '24 20:09 Minenash