File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
plugin/src/main/kotlin/nl/littlerobots/vcu/plugin/resolver Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ class VersionSelectors {
2727 /* *
2828 * Select the latest version
2929 */
30+ @JvmStatic
3031 val LATEST = object : ModuleVersionSelector {
3132 override fun select (candidate : ModuleVersionCandidate ): Boolean {
3233 return true
@@ -35,6 +36,7 @@ class VersionSelectors {
3536 /* *
3637 * Select only stable versions
3738 */
39+ @JvmStatic
3840 val STABLE = object : ModuleVersionSelector {
3941 override fun select (candidate : ModuleVersionCandidate ): Boolean {
4042 return isStable(candidate.candidate.version)
@@ -44,6 +46,7 @@ class VersionSelectors {
4446 /* *
4547 * Select an unstable version if the current version is also unstable, otherwise select a stable version.
4648 */
49+ @JvmStatic
4750 val PREFER_STABLE = object : ModuleVersionSelector {
4851 override fun select (candidate : ModuleVersionCandidate ): Boolean {
4952 return (! isStable(candidate.candidate.version) && ! isStable(candidate.currentVersion)) || isStable(candidate.candidate.version)
You can’t perform that action at this time.
0 commit comments