googlesamples / googlesamples/unity-jar-resolver
Option to exclude "alpha" versions?
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 371
- Avg merge
- 14h 21m
- Merged PRs (30d)
- 3
Description
Hi,
First of all thanks for the nice plugin.
Can you add the ability to prevent the resolver from downloading alpha versions, especially when some dependency was specified with 'LATEST' as the required version?
For example, Google is now rolling out version 28.0.0-alpha1 of the support library, and the resolver keeps downloading and importing it to my Unity project (some 3rd party plugin must have specified 'LATEST' support library in their dependencies). Thing is these alpha files keep generating build errors with Unity's integrated Gradle system, for example:
`No resource found that matches the given name (at 'dialog CornerRadius' with value '?android:attr/dialogCornerRadius')`
These errors are likely to be fixed when Google release the stable artifacts in the near future, but in the mean time, they're a real pain.
My current workaround is disable automatic resolving, and manually replace the alpha libraries with stable working ones from other projects. This is far from ideal because I would need to repeat the process every time a resolving is needed (e.g. when importing a new 3rd party plugin to the project I need to make sure its dependencies are resolved properly).
It would be nice to have an option to exclude all alpha version from the resolving process.
Thanks again!
Contributor guide
Assessment
This issue has not been assessed yet.