Closed noeppi-noeppi closed 2 years ago
Is there a reason to download modpack files through cursemaven? I also can't imagine needing classifierjar
for zip files.
I don't mind zip files being downloaded, but if they're not going to be downloaded via gradle, I'd like to handle them separately as I can just return a normal 304
Is there a reason to download modpack files through cursemaven?
Yes, it works reliably
I also can't imagine needing classifierjar for zip files.
Now that I think about it, yes it is probably not needed, I'll remove it.
I don't mind zip files being downloaded, but if they're not going to be downloaded via gradle, I'd like to handle them separately as I can just return a normal 304
My use case is a gradle plugin that adds all mod files from a modpack to a configuration. So that means the modpack zip would be downloaded by gradle.
My use case is a gradle plugin that adds all mod files from a modpack to a configuration. So that means the modpack zip would be downloaded by gradle.
Could you link to the gradle plugin? I don't think it would be downloaded by gradle but instead downloaded by the gradle plugin. The reason I have to handle 304s weirdly is due to the gradle maven artifact downloader not handling redirects with a + in the url properly.
It uses MavenArtifactDownloader
from ForgeGradle.
This is useful do download modpack files through CurseMaven. Currently, this is possible but only if
.jar
is used as the extension. I think allowing.zip
as extension is a cleaner solution.