File tree Expand file tree Collapse file tree 3 files changed +4
-8
lines changed
sbt-dotty/src/dotty/tools/sbtplugin Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -103,10 +103,11 @@ final case class SbtCommunityProject(
103103 override val runCommandsArgs : List [String ] =
104104 // Run the sbt command with the compiler version and sbt plugin set in the build
105105 val sbtProps = Option (System .getProperty(" sbt.ivy.home" )) match
106- case Some (ivyHome) => List (s " -Dsbt.ivy.home= $ivyHome" , " -Dsbt.supershell=false " )
106+ case Some (ivyHome) => List (s " -Dsbt.ivy.home= $ivyHome" )
107107 case _ => Nil
108108 extraSbtArgs ++ sbtProps ++ List (
109109 " -sbt-version" , " 1.3.8" ,
110+ " -Dsbt.supershell=false" ,
110111 s " --addPluginSbtFile= $sbtPluginFilePath" )
111112
112113object projects :
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ object Build {
6565 val referenceVersion = " 0.24.0-bin-20200325-37eec14-NIGHTLY"
6666
6767 val baseVersion = " 0.24.0"
68- val baseSbtDottyVersion = " 0.4.0 "
68+ val baseSbtDottyVersion = " 0.4.1 "
6969
7070 // Versions used by the vscode extension to create a new project
7171 // This should be the latest published releases.
Original file line number Diff line number Diff line change @@ -405,15 +405,10 @@ object DottyPlugin extends AutoPlugin {
405405
406406 /** Create a scalaInstance task that uses Dotty based on `moduleName`. */
407407 def dottyScalaInstanceTask (moduleName : String ): Initialize [Task [ScalaInstance ]] = Def .task {
408- val ivyConfig0 = Classpaths .mkIvyConfiguration.value
409- // When compiling non-bootstrapped projects in the build of Dotty itself,
410- // dependency resolution might pick a local project which is not what we
411- // want. We avoid this by dropping the inter-project resolver.
412- val ivyConfig1 = ivyConfig0.withResolvers(ivyConfig0.resolvers.filter(_.name != " inter-project" ))
413408 val updateReport =
414409 fetchArtifactsOf(
415410 scalaOrganization.value %% moduleName % scalaVersion.value,
416- ivy. IvyDependencyResolution (ivyConfig1) ,
411+ dependencyResolution.value ,
417412 scalaModuleInfo.value,
418413 updateConfiguration.value,
419414 (unresolvedWarningConfiguration in update).value,
You can’t perform that action at this time.
0 commit comments