...
Winget does not support zip/tar installers. Supported installer formats: exe, msi, msix, inno, wix, nullsoft, appx. It means a custom installer has to be created.
Winget uses a GitHub repository to manage manifests (like homebrew formulas) as Homebrew does. BUT Winget does not support third-party github repositories.
Microsoft reserves the right to refuse a submission for any reason.
There are no maven/gradle plugins to create a manifest. Microsoft provides cli that automates the creation process.
NOTE: The most dubious option for installing the OS package manager. Currently, Windows users are more focused on manual installation using an msi package or a zip archive. Maybe it would be better to look at SDKman publishing as Windows package manager.
SDKman is a multiplatform package manager with supported platforms:
...