Is there a way using public (or not too private) A...
# community-support
c
Is there a way using public (or not too private) APIs in Gradle to take a version string (returned from
VersionContraint.getRequiredVersion()
) and determine if it identifies a “singular” version (without crafting my own regex)? I’m trying to write a
ComponentMetadataHandler
that will rewrite
slf4j-api
dependencies to be more accurate ranges. So
1.7.25
becomes
[1.7.25,1.7.9999)
(or similar). I’d like to make sure I avoid rewriting any “non-unique” version syntaxes.