You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
valrepoName= settingKey[String]("The name of the repository under github.com/scala/.")
15
17
valmimaPreviousVersion= settingKey[Option[String]]("The version of this module to compare against when running MiMa.")
16
-
valscalaVersionsByJvm= settingKey[Map[Int, List[(String, Boolean)]]]("For a Java major version (6, 8, 9), a list of a Scala version and a flag indicating whether to use this combination for publishing.")
case (v, publish) if!isTravisPublishing || publish => v
45
-
}
46
-
if (scalaVersions.isEmpty) {
47
-
if (isTravis) {
48
-
sLog.value.warn(s"No Scala version in `scalaVersionsByJvm` in build.sbt needs to be released on Java major version $javaVersion.")
49
-
// Exit successfully, don't fail the (travis) build. This happens for example if `openjdk7`
50
-
// is part of the travis configuration for testing, but it's not used for releasing against
51
-
// any Scala version.
52
-
System.exit(0)
53
-
} else
54
-
thrownewRuntimeException(s"No Scala version for Java major version $javaVersion. Change your Java version or adjust `scalaVersionsByJvm` in build.sbt.")
0 commit comments