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
valscalaModuleRepoName= settingKey[String]("The name of the repository under github.com/scala/.")
16
18
valscalaModuleMimaPreviousVersion= settingKey[Option[String]]("The version of this module to compare against when running MiMa.")
17
-
valscalaModuleScalaVersionsByJvm= 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.")
18
19
valscalaModuleEnableOptimizerInlineFrom= settingKey[String]("The value passed to -opt-inline-from by `enableOptimizer` on 2.13 and higher.")
case (v, publish) if!isTravisPublishing || publish => v
49
-
}
50
-
if (scalaVersions.isEmpty) {
51
-
if (isTravis) {
52
-
sLog.value.warn(s"No Scala version in `scalaVersionsByJvm` in build.sbt needs to be released on Java major version $javaVersion.")
53
-
// Exit successfully, don't fail the (travis) build. This happens for example if `openjdk7`
54
-
// is part of the travis configuration for testing, but it's not used for releasing against
55
-
// any Scala version.
56
-
System.exit(0)
57
-
} else
58
-
thrownewRuntimeException(s"No Scala version for Java major version $javaVersion. Change your Java version or adjust `scalaVersionsByJvm` in build.sbt.")
0 commit comments