@@ -10,9 +10,6 @@ lazy val compilerVersion: String =
10
10
val file = communitybuildDir.resolve(" scala3-bootstrapped.version" )
11
11
new String (Files .readAllBytes(file), UTF_8 )
12
12
13
- lazy val compilerSupportExperimental : Boolean =
14
- compilerVersion.contains(" SNAPSHOT" ) || compilerVersion.contains(" NIGHTLY" )
15
-
16
13
lazy val sbtPluginFilePath : String =
17
14
// Workaround for https://github.com/sbt/sbt/issues/4395
18
15
new File (sys.props(" user.home" ) + " /.sbt/1.0/plugins" ).mkdirs()
@@ -43,7 +40,6 @@ sealed trait CommunityProject:
43
40
val testOnlyDependencies : () => List [CommunityProject ]
44
41
val binaryName : String
45
42
val runCommandsArgs : List [String ] = Nil
46
- val requiresExperimental : Boolean
47
43
val environment : Map [String , String ] = Map .empty
48
44
49
45
final val projectDir = communitybuildDir.resolve(" community-projects" ).resolve(project)
@@ -53,7 +49,6 @@ sealed trait CommunityProject:
53
49
54
50
/** Publish this project to the local Maven repository */
55
51
final def publish (): Unit =
56
- // TODO what should this do with .requiresExperimental?
57
52
if ! published then
58
53
publishDependencies()
59
54
log(s " Publishing $project" )
@@ -65,11 +60,6 @@ sealed trait CommunityProject:
65
60
published = true
66
61
67
62
final def doc (): Unit =
68
- if this .requiresExperimental && ! compilerSupportExperimental then
69
- log(
70
- s " Skipping ${this .project} - it needs experimental features unsupported in this build. "
71
- )
72
- return
73
63
publishDependencies()
74
64
log(s " Documenting $project" )
75
65
if docCommand eq null then
@@ -89,8 +79,7 @@ final case class MillCommunityProject(
89
79
baseCommand : String ,
90
80
dependencies : List [CommunityProject ] = Nil ,
91
81
testOnlyDependencies : () => List [CommunityProject ] = () => Nil ,
92
- ignoreDocs : Boolean = false ,
93
- requiresExperimental : Boolean = false ,
82
+ ignoreDocs : Boolean = false
94
83
) extends CommunityProject :
95
84
override val binaryName : String = " ./mill"
96
85
override val testCommand = s " $baseCommand.test "
@@ -109,8 +98,7 @@ final case class SbtCommunityProject(
109
98
testOnlyDependencies : () => List [CommunityProject ] = () => Nil ,
110
99
sbtPublishCommand : String = null ,
111
100
sbtDocCommand : String = null ,
112
- scalacOptions : List [String ] = SbtCommunityProject .scalacOptions,
113
- requiresExperimental : Boolean = false ,
101
+ scalacOptions : List [String ] = SbtCommunityProject .scalacOptions
114
102
) extends CommunityProject :
115
103
override val binaryName : String = " sbt"
116
104
@@ -260,7 +248,6 @@ object projects:
260
248
project = " intent" ,
261
249
sbtTestCommand = " test" ,
262
250
sbtDocCommand = " doc" ,
263
- requiresExperimental = true ,
264
251
)
265
252
266
253
lazy val scalacheck = SbtCommunityProject (
0 commit comments