Vineflower / vineflower-intellij

Intellij IDEA plugin that adds Vineflower support
MIT License
40 stars 11 forks source link

Silently fail when maven repository not found #5

Closed Trattue closed 2 years ago

Trattue commented 2 years ago

Fixes #4.

The plugin assumes quiltflower exists both in the snapshot and in release repositories.

Currently (as of 2022-04-12), however, quiltflower does only exist in the release repo which causes the plugin to panic and fail, disregarding the release repository.

I'm not sure if and when the QuiltMC people will publish snapshot releases of quiltflower since they seem to have problems with their Nexus instance currently. In the meantime, this fix should allow plugin users to use at least the release version.

I've tested the changes locally and the release version of quiltflower seems to work fine with this pr.

eidt: (ignore the 'allow manually triggering build' commit, I wasn't aware Github would append it to the PR automatically and have reverted it :P)