I know that gradle choose the highest version when solve dependency conflict by default. But what's the definition of highest.
I have a dependency conflict problem and I run dependencies task finding that this two version of the same dependency conflicts: AD-106715-1-SNAPSHOT and 1.0.36. Gradle choose the 1.0.36 version.
com.mycompany.service:ad-biz-jasper-contract:AD-106715-1-SNAPSHOT -> 1.0.36
But why? Is 1.0.36 higher than AD-106715-1-SNAPSHOT? But lexicographically the later one is higher.
So I want to know how gradle define which version is higher.