@@ -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. */
@@ -68,7 +65,6 @@ final case class SbtCommunityProject(
68
65
project : String ,
69
66
sbtTestCommand : String ,
70
67
extraSbtArgs : List [String ] = Nil ,
71
- forceUpgradeSbtScalajsPlugin : Boolean = false ,
72
68
dependencies : List [CommunityProject ] = Nil ,
73
69
sbtPublishCommand : String = null ) extends CommunityProject :
74
70
override val binaryName : String = " sbt"
@@ -101,14 +97,11 @@ final case class SbtCommunityProject(
101
97
val sbtProps = Option (System .getProperty(" sbt.ivy.home" )) match
102
98
case Some (ivyHome) => List (s " -Dsbt.ivy.home= $ivyHome" )
103
99
case _ => Nil
104
- val scalaJSPluginArgs =
105
- if (forceUpgradeSbtScalajsPlugin) List (s " --addPluginSbtFile= $sbtScalaJSPluginFilePath" )
106
- else Nil
107
100
extraSbtArgs ++ sbtProps ++ List (
108
101
" -sbt-version" , " 1.4.4" ,
109
102
" -Dsbt.supershell=false" ,
110
103
s " --addPluginSbtFile= $sbtPluginFilePath"
111
- ) ++ scalaJSPluginArgs
104
+ )
112
105
113
106
object projects :
114
107
lazy val utest = MillCommunityProject (
@@ -330,8 +323,7 @@ object projects:
330
323
331
324
lazy val catsEffect2 = SbtCommunityProject (
332
325
project = " cats-effect-2" ,
333
- sbtTestCommand = " test" ,
334
- forceUpgradeSbtScalajsPlugin = true
326
+ sbtTestCommand = " test"
335
327
)
336
328
337
329
lazy val catsEffect3 = SbtCommunityProject (
0 commit comments