@@ -15,9 +15,6 @@ lazy val sbtPluginFilePath: String =
15
15
new File (sys.props(" user.home" ) + " /.sbt/1.0/plugins" ).mkdirs()
16
16
communitybuildDir.resolve(" sbt-dotty-sbt" ).toAbsolutePath().toString()
17
17
18
- lazy val sbtScalaJSPluginFilePath : String =
19
- communitybuildDir.resolve(" sbt-scalajs-sbt" ).toAbsolutePath().toString()
20
-
21
18
def log (msg : String ) = println(Console .GREEN + msg + Console .RESET )
22
19
23
20
/** Executes shell command, returns false in case of error. */
@@ -75,7 +72,6 @@ final case class SbtCommunityProject(
75
72
project : String ,
76
73
sbtTestCommand : String ,
77
74
extraSbtArgs : List [String ] = Nil ,
78
- forceUpgradeSbtScalajsPlugin : Boolean = false ,
79
75
dependencies : List [CommunityProject ] = Nil ,
80
76
sbtPublishCommand : String = null ) extends CommunityProject :
81
77
override val binaryName : String = " sbt"
@@ -111,14 +107,11 @@ final case class SbtCommunityProject(
111
107
val sbtProps = Option (System .getProperty(" sbt.ivy.home" )) match
112
108
case Some (ivyHome) => List (s " -Dsbt.ivy.home= $ivyHome" )
113
109
case _ => Nil
114
- val scalaJSPluginArgs =
115
- if (forceUpgradeSbtScalajsPlugin) List (s " --addPluginSbtFile= $sbtScalaJSPluginFilePath" )
116
- else Nil
117
110
extraSbtArgs ++ sbtProps ++ List (
118
111
" -sbt-version" , " 1.4.4" ,
119
112
" -Dsbt.supershell=false" ,
120
113
s " --addPluginSbtFile= $sbtPluginFilePath"
121
- ) ++ scalaJSPluginArgs
114
+ )
122
115
123
116
object projects :
124
117
lazy val utest = MillCommunityProject (
@@ -340,8 +333,7 @@ object projects:
340
333
341
334
lazy val catsEffect2 = SbtCommunityProject (
342
335
project = " cats-effect-2" ,
343
- sbtTestCommand = " test" ,
344
- forceUpgradeSbtScalajsPlugin = true
336
+ sbtTestCommand = " test"
345
337
)
346
338
347
339
lazy val catsEffect3 = SbtCommunityProject (
0 commit comments