Remove java8 home and scala steward pins related to java 11 and java 17 (#1968)

* remove use of java8 home

* scala deprecations

* upgrade paradox

* getId is deprecated

* remove targetSystemJdk build option

* Update JdkOptions.scala
This commit is contained in:
PJ Fanning 2025-07-30 13:34:30 +01:00 committed by GitHub
parent 1b9c197fd7
commit f23107fc43
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 40 additions and 138 deletions

View file

@ -15,7 +15,6 @@ import sbt.Keys._
import sbt._
object TestExtras {
import JdkOptions.isJdk8
object Filter {
object Keys {
lazy val excludeTestNames = settingKey[Set[String]](
@ -69,8 +68,7 @@ object TestExtras {
"The jdk9-only JavaFlowSupportCompileTest.java" -> "stream-tests/target/test-reports/TEST-org.apache.pekko.stream.javadsl.JavaFlowSupportCompileTest.xml")
val testsToCheck =
if (isJdk8) baseList
else baseList ::: jdk9Only
baseList ::: jdk9Only
testsToCheck.foreach((shouldExist _).tupled)
})