GRADLE-3080 Ignore SNAPSHOTs for dynamic versions

- sub-versions shouldn't match SNAPSHOTs, e.g. 1.+ shouldn't match 1.2-SNAPSHOT