@@ -127,6 +127,9 @@ object Build {
127
127
case Bootstrapped => " 2.13.10"
128
128
}
129
129
130
+ /** Version of the scala-library for which we will generate TASTy. */
131
+ val stdlibBootstrappedVersion = " 2.13.11"
132
+
130
133
val dottyOrganization = " org.scala-lang"
131
134
val dottyGithubUrl = " https://github.com/lampepfl/dotty"
132
135
val dottyGithubRawUserContentUrl = " https://raw.githubusercontent.com/lampepfl/dotty"
@@ -948,7 +951,7 @@ object Build {
948
951
ivyConfigurations += SourceDeps .hide,
949
952
transitiveClassifiers := Seq (" sources" ),
950
953
libraryDependencies +=
951
- (" org.scala-lang" % " scala-library" % stdlibVersion( Bootstrapped ) % " sourcedeps" ),
954
+ (" org.scala-lang" % " scala-library" % stdlibBootstrappedVersion % " sourcedeps" ),
952
955
(Compile / sourceGenerators) += Def .task {
953
956
val s = streams.value
954
957
val cacheDir = s.cacheDirectory
@@ -991,19 +994,19 @@ object Build {
991
994
files.filterNot(_.relativeTo(reference).exists(overwritenSources))
992
995
},
993
996
(Test / managedClasspath) ~= {
994
- _.filterNot(file => file.data.getName == s " scala-library- ${stdlibVersion( Bootstrapped )} .jar " )
997
+ _.filterNot(file => file.data.getName == s " scala-library- $stdlibBootstrappedVersion .jar " )
995
998
},
996
999
mimaCheckDirection := " both" ,
997
1000
mimaBackwardIssueFilters := MiMaFilters .StdlibBootstrappedBackwards ,
998
1001
mimaForwardIssueFilters := MiMaFilters .StdlibBootstrappedForward ,
999
- mimaPreviousArtifacts += " org.scala-lang" % " scala-library" % stdlibVersion( Bootstrapped ) ,
1002
+ mimaPreviousArtifacts += " org.scala-lang" % " scala-library" % stdlibBootstrappedVersion ,
1000
1003
mimaExcludeAnnotations ++= Seq (
1001
1004
" scala.annotation.experimental" ,
1002
1005
" scala.annotation.specialized" ,
1003
1006
" scala.annotation.unspecialized" ,
1004
1007
),
1005
1008
tastyMiMaTastyQueryVersionOverride := Some (" 0.8.4" ),
1006
- tastyMiMaPreviousArtifacts += " org.scala-lang" % " scala-library" % stdlibVersion( Bootstrapped ) ,
1009
+ tastyMiMaPreviousArtifacts += " org.scala-lang" % " scala-library" % stdlibBootstrappedVersion ,
1007
1010
tastyMiMaCurrentClasspath := {
1008
1011
val javaBootCp = tastyMiMaJavaBootClasspath.value
1009
1012
val classDir = (Compile / classDirectory).value.toPath()
@@ -1110,7 +1113,7 @@ object Build {
1110
1113
javaOptions := (`scala3-compiler-bootstrapped` / javaOptions).value,
1111
1114
Test / javaOptions += " -Ddotty.scala.library=" + (`stdlib-bootstrapped` / Compile / packageBin).value.getAbsolutePath,
1112
1115
Compile / compile / fullClasspath ~= {
1113
- _.filterNot(file => file.data.getName == s " scala-library- ${stdlibVersion( Bootstrapped )} .jar " )
1116
+ _.filterNot(file => file.data.getName == s " scala-library- $stdlibBootstrappedVersion .jar " )
1114
1117
},
1115
1118
Compile / compile / dependencyClasspath := {
1116
1119
// make sure that the scala2-library (tasty of `stdlib-bootstrapped-tasty`) is listed before the scala-library (classfiles)
0 commit comments