Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Java 11 assertion from project settings #27158

Merged
merged 1 commit into from
May 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions project/ProjectSettings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,6 @@ object ProjectSettings {
Compile / doc / sources := Seq.empty,
Compile / doc := target.map(_ / "none").value,
scalaVersion := "2.13.13",
initialize := {
val _ = initialize.value
assert(
sys.props("java.specification.version") == "11",
"Java 11 is required for this project.",
)
},
Comment on lines -36 to -42
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I regret writing this code so long ago!

cleanAll := Def.taskDyn {
val allProjects = ScopeFilter(inAnyProject)
clean.all(allProjects)
Expand Down