@@ -23,6 +23,15 @@ trait JsonFormatters {
23
23
_.asString,
24
24
coursier.version.Version (_)
25
25
)
26
+ implicit lazy val variantMatcherFormat : RW [coursier.core.VariantSelector .VariantMatcher ] =
27
+ RW .merge(
28
+ upickle.default.macroRW[coursier.core.VariantSelector .VariantMatcher .Api .type ],
29
+ upickle.default.macroRW[coursier.core.VariantSelector .VariantMatcher .Runtime .type ],
30
+ upickle.default.macroRW[coursier.core.VariantSelector .VariantMatcher .Equals ],
31
+ upickle.default.macroRW[coursier.core.VariantSelector .VariantMatcher .MinimumVersion ],
32
+ upickle.default.macroRW[coursier.core.VariantSelector .VariantMatcher .AnyOf ],
33
+ upickle.default.macroRW[coursier.core.VariantSelector .VariantMatcher .EndsWith ]
34
+ )
26
35
implicit lazy val variantSelectorFormat : RW [coursier.core.VariantSelector ] =
27
36
RW .merge(
28
37
upickle.default.macroRW[coursier.core.VariantSelector .ConfigurationBased ],
@@ -198,5 +207,17 @@ object JsonFormatters extends JsonFormatters {
198
207
given Root_coursier_core_Project
199
208
: Mirrors .Root [coursier.core.Project ] =
200
209
Mirrors .autoRoot[coursier.core.Project ]
210
+ given Root_coursier_core_VariantSelector_VariantMatcher_Equals
211
+ : Mirrors .Root [coursier.core.VariantSelector .VariantMatcher .Equals ] =
212
+ Mirrors .autoRoot[coursier.core.VariantSelector .VariantMatcher .Equals ]
213
+ given Root_coursier_core_VariantSelector_VariantMatcher_MinimumVersion
214
+ : Mirrors .Root [coursier.core.VariantSelector .VariantMatcher .MinimumVersion ] =
215
+ Mirrors .autoRoot[coursier.core.VariantSelector .VariantMatcher .MinimumVersion ]
216
+ given Root_coursier_core_VariantSelector_VariantMatcher_AnyOf
217
+ : Mirrors .Root [coursier.core.VariantSelector .VariantMatcher .AnyOf ] =
218
+ Mirrors .autoRoot[coursier.core.VariantSelector .VariantMatcher .AnyOf ]
219
+ given Root_coursier_core_VariantSelector_VariantMatcher_EndsWith
220
+ : Mirrors .Root [coursier.core.VariantSelector .VariantMatcher .EndsWith ] =
221
+ Mirrors .autoRoot[coursier.core.VariantSelector .VariantMatcher .EndsWith ]
201
222
}
202
223
}
0 commit comments