only use major.minor for jline dependency of Scala 2.11.0+