@@ -15,9 +15,6 @@ lazy val sbtPluginFilePath: String =
1515 new File (sys.props(" user.home" ) + " /.sbt/1.0/plugins" ).mkdirs()
1616 communitybuildDir.resolve(" sbt-dotty-sbt" ).toAbsolutePath().toString()
1717
18- lazy val sbtScalaJSPluginFilePath : String =
19- communitybuildDir.resolve(" sbt-scalajs-sbt" ).toAbsolutePath().toString()
20-
2118def log (msg : String ) = println(Console .GREEN + msg + Console .RESET )
2219
2320/** Executes shell command, returns false in case of error. */
@@ -75,7 +72,6 @@ final case class SbtCommunityProject(
7572 project : String ,
7673 sbtTestCommand : String ,
7774 extraSbtArgs : List [String ] = Nil ,
78- forceUpgradeSbtScalajsPlugin : Boolean = false ,
7975 dependencies : List [CommunityProject ] = Nil ,
8076 sbtPublishCommand : String = null ) extends CommunityProject :
8177 override val binaryName : String = " sbt"
@@ -111,14 +107,11 @@ final case class SbtCommunityProject(
111107 val sbtProps = Option (System .getProperty(" sbt.ivy.home" )) match
112108 case Some (ivyHome) => List (s " -Dsbt.ivy.home= $ivyHome" )
113109 case _ => Nil
114- val scalaJSPluginArgs =
115- if (forceUpgradeSbtScalajsPlugin) List (s " --addPluginSbtFile= $sbtScalaJSPluginFilePath" )
116- else Nil
117110 extraSbtArgs ++ sbtProps ++ List (
118111 " -sbt-version" , " 1.4.4" ,
119112 " -Dsbt.supershell=false" ,
120113 s " --addPluginSbtFile= $sbtPluginFilePath"
121- ) ++ scalaJSPluginArgs
114+ )
122115
123116object projects :
124117 lazy val utest = MillCommunityProject (
@@ -341,8 +334,7 @@ object projects:
341334
342335 lazy val catsEffect2 = SbtCommunityProject (
343336 project = " cats-effect-2" ,
344- sbtTestCommand = " test" ,
345- forceUpgradeSbtScalajsPlugin = true
337+ sbtTestCommand = " test"
346338 )
347339
348340 lazy val catsEffect3 = SbtCommunityProject (
0 commit comments