File tree 3 files changed +4
-8
lines changed
sbt-dotty/src/dotty/tools/sbtplugin 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(
103
103
override val runCommandsArgs : List [String ] =
104
104
// Run the sbt command with the compiler version and sbt plugin set in the build
105
105
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" )
107
107
case _ => Nil
108
108
extraSbtArgs ++ sbtProps ++ List (
109
109
" -sbt-version" , " 1.3.8" ,
110
+ " -Dsbt.supershell=false" ,
110
111
s " --addPluginSbtFile= $sbtPluginFilePath" )
111
112
112
113
object projects :
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ object Build {
65
65
val referenceVersion = " 0.24.0-bin-20200325-37eec14-NIGHTLY"
66
66
67
67
val baseVersion = " 0.24.0"
68
- val baseSbtDottyVersion = " 0.4.0 "
68
+ val baseSbtDottyVersion = " 0.4.1 "
69
69
70
70
// Versions used by the vscode extension to create a new project
71
71
// 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 {
405
405
406
406
/** Create a scalaInstance task that uses Dotty based on `moduleName`. */
407
407
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" ))
413
408
val updateReport =
414
409
fetchArtifactsOf(
415
410
scalaOrganization.value %% moduleName % scalaVersion.value,
416
- ivy. IvyDependencyResolution (ivyConfig1) ,
411
+ dependencyResolution.value ,
417
412
scalaModuleInfo.value,
418
413
updateConfiguration.value,
419
414
(unresolvedWarningConfiguration in update).value,
You can’t perform that action at this time.
0 commit comments