@@ -1983,7 +1983,8 @@ object Build {
19831983 // Should we also patch .sjsir files
19841984 keepSJSIR := false ,
19851985 // Generate library.properties, used by scala.util.Properties
1986- Compile / resourceGenerators += generateLibraryProperties.taskValue
1986+ Compile / resourceGenerators += generateLibraryProperties.taskValue,
1987+ mainClass := None ,
19871988 )
19881989
19891990 /* Configuration of the org.scala-lang:scala3-library_3:*.**.**-nonbootstrapped project */
@@ -2023,6 +2024,7 @@ object Build {
20232024 publish / skip := false ,
20242025 // Project specific target folder. sbt doesn't like having two projects using the same target folder
20252026 target := target.value / " scala3-library-nonbootstrapped" ,
2027+ mainClass := None ,
20262028 )
20272029
20282030 /* Configuration of the org.scala-lang:scala-library:*.**.**-bootstrapped project */
@@ -2112,6 +2114,7 @@ object Build {
21122114 keepSJSIR := false ,
21132115 // Generate Scala 3 runtime properties overlay
21142116 Compile / resourceGenerators += generateLibraryProperties.taskValue,
2117+ mainClass := None ,
21152118 )
21162119
21172120 /* Configuration of the org.scala-lang:scala3-library_3:*.**.**-bootstrapped project */
@@ -2153,6 +2156,7 @@ object Build {
21532156 publish / skip := false ,
21542157 // Project specific target folder. sbt doesn't like having two projects using the same target folder
21552158 target := target.value / " scala3-library-bootstrapped" ,
2159+ mainClass := None ,
21562160 )
21572161
21582162 /* Configuration of the org.scala-js:scalajs-scalalib_2.13:*.**.**-bootstrapped project */
@@ -2291,6 +2295,7 @@ object Build {
22912295 customMimaReportBinaryIssues(" MiMaFilters.Scala3Library" ),
22922296 // Should we also patch .sjsir files
22932297 keepSJSIR := true ,
2298+ mainClass := None ,
22942299 )
22952300
22962301 /* Configuration of the org.scala-lang:scala3-library_sjs1_3:*.**.**-bootstrapped project */
@@ -2332,6 +2337,7 @@ object Build {
23322337 publish / skip := false ,
23332338 // Project specific target folder. sbt doesn't like having two projects using the same target folder
23342339 target := target.value / " scala3-library" ,
2340+ mainClass := None ,
23352341 )
23362342
23372343 // ==============================================================================================
0 commit comments