Hi all! What is Gradle actually using internally t...
# community-support
t
Hi all! What is Gradle actually using internally to compare two artifact versions to determine which one is newer?
org.gradle.util.internal.VersionNumber
eventually? I figured that has a problem (at least in 9.4.0 which I'm checking against) when comparing numbers with three digits against such with four (e.g. "1.2.3.4" is determined to be "older" than "1.2.3"). I need this for some custom build magic.
Ok, I found
VersionParser
and
DefaultVersionComparator
which seem to be more sophisticated.