minotaur icon indicating copy to clipboard operation
minotaur copied to clipboard

Minotaur does not work with velocity api's annotations

Open SageSphinx63920 opened this issue 1 year ago • 2 comments

Describe the bug

The plugin does not work when using the velocity api annotations and fails with this error. The plugin itself does work on velocity.

> Task :modrinth
Minotaur: 2.8.7

> Task :modrinth FAILED

Execution failed for task ':modrinth'.
> Failed to upload file to Modrinth! EndpointException(error=invalid_input, description=Error with multipart data: No velocity-plugin.json present for plugin file.)

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 10s
11 actionable tasks: 8 executed, 3 up-to-date

Steps to reproduce

  1. Setup minotaur
  2. Create a velocity plugin with the annotations and without the old json file
  3. Run the Modrinth task

Expected behavior

The plugin should be uploaded without issues

Additional context

My plugin can be found here: Keklist and the velocity main file is here

SageSphinx63920 avatar Aug 27 '24 18:08 SageSphinx63920

This could also be an issue with the rest api itself not particular the gradle plugin

SageSphinx63920 avatar Aug 27 '24 18:08 SageSphinx63920

This was some issue on my end, regarding the velocity annotation processor. This was never an issue during my tests as the debug mode does not fail for this! I do not know if this issue should still be open regarding the debug mode not failing.

SageSphinx63920 avatar Aug 27 '24 18:08 SageSphinx63920

Closing as this is an error from API, not from minotaur

triphora avatar Jul 05 '25 20:07 triphora