@@ -3189,47 +3189,6 @@ object Build {
3189
3189
BuildInfoPlugin .buildInfoScopedSettings(Test ),
3190
3190
)
3191
3191
3192
- // various scripted sbt tests
3193
- lazy val `sbt-test` = project.in(file(" sbt-test" )).
3194
- enablePlugins(ScriptedPlugin ).
3195
- settings(commonSettings).
3196
- settings(
3197
- sbtTestDirectory := baseDirectory.value,
3198
- target := baseDirectory.value / " .." / " out" / name.value,
3199
-
3200
- // The batch mode accidentally became the default with no way to disable
3201
- // it in sbt 1.4 (https://github.com/sbt/sbt/issues/5913#issuecomment-716003195).
3202
- // We enable it explicitly here to make it clear that we're using it.
3203
- scriptedBatchExecution := true ,
3204
-
3205
- scriptedLaunchOpts ++= Seq (
3206
- " -Dplugin.version=" + version.value,
3207
- " -Dplugin.scalaVersion=" + dottyVersion,
3208
- " -Dplugin.scala2Version=" + stdlibVersion(Bootstrapped ),
3209
- " -Dplugin.scalaJSVersion=" + scalaJSVersion,
3210
- " -Dsbt.boot.directory=" + ((ThisBuild / baseDirectory).value / " .sbt-scripted" ).getAbsolutePath // Workaround sbt/sbt#3469
3211
- ),
3212
- // Pass along ivy home and repositories settings to sbt instances run from the tests
3213
- scriptedLaunchOpts ++= {
3214
- val repositoryPath = (io.Path .userHome / " .sbt" / " repositories" ).absolutePath
3215
- s " -Dsbt.repository.config= $repositoryPath" ::
3216
- ivyPaths.value.ivyHome.map(" -Dsbt.ivy.home=" + _.getAbsolutePath).toList
3217
- },
3218
- scriptedBufferLog := true ,
3219
- scripted := scripted.dependsOn(
3220
- (`scala3-sbt-bridge` / publishLocalBin),
3221
- (`scala3-interfaces` / publishLocalBin),
3222
- (`scala3-compiler-bootstrapped` / publishLocalBin),
3223
- (`scala3-library-bootstrapped` / publishLocalBin),
3224
- (`scala3-library-bootstrappedJS` / publishLocalBin),
3225
- (`tasty-core-bootstrapped` / publishLocalBin),
3226
- (`scala3-staging` / publishLocalBin),
3227
- (`scala3-tasty-inspector` / publishLocalBin),
3228
- (`scaladoc` / publishLocalBin),
3229
- (`scala3-bootstrapped` / publishLocalBin) // Needed because sbt currently hardcodes the dotty artifact
3230
- ).evaluated
3231
- )
3232
-
3233
3192
lazy val `sbt-community-build` = project.in(file(" sbt-community-build" )).
3234
3193
enablePlugins(SbtPlugin ).
3235
3194
settings(commonSettings).
0 commit comments