isCompatibleWith

open fun isCompatibleWith(otherVersion: JavaVersion): Boolean(source)

Returns if this version is compatible with the given version

Since

6.0