@@ -473,7 +473,10 @@ object Build {
473473
474474 lazy val `scala3-interfaces` = project.in(file(" interfaces" )).
475475 settings(commonJavaSettings).
476- settings(commonMiMaSettings)
476+ settings(commonMiMaSettings).
477+ settings(
478+ versionScheme := Some (" semver-spec" )
479+ )
477480
478481 /** Find an artifact with the given `name` in `classpath` */
479482 def findArtifact (classpath : Def .Classpath , name : String ): File = classpath
@@ -1761,6 +1764,7 @@ object Build {
17611764 val base =
17621765 project.withCommonSettings.
17631766 settings(
1767+ versionScheme := Some (" semver-spec" ),
17641768 libraryDependencies += " org.scala-lang" % " scala-library" % stdlibVersion,
17651769 // Make sure we do not refer to experimental features outside an experimental scope.
17661770 // In other words, disable NIGHTLY/SNAPSHOT experimental scope.
@@ -1786,7 +1790,15 @@ object Build {
17861790 def asTastyCore (implicit mode : Mode ): Project = project.withCommonSettings.
17871791 dependsOn(dottyLibrary).
17881792 settings(tastyCoreSettings).
1789- settings(disableDocSetting)
1793+ settings(disableDocSetting).
1794+ settings(
1795+ versionScheme := Some (" semver-spec" ),
1796+ if (mode == Bootstrapped ) {
1797+ commonMiMaSettings
1798+ } else {
1799+ Nil
1800+ }
1801+ )
17901802
17911803 def asTastyCoreScala2 : Project = project.settings(commonScala2Settings)
17921804
0 commit comments