noMoreThanVer

fun noMoreThanVer(param: String, value: String, id: String? = null)

Adds a requirement that the value of the specified parameter is not greater than the given value as a version

Parameters

param

parameter name

value

version to check

id

optional requirement id, if not specified will be generated