diff --git a/airspec/build.sbt b/airspec/build.sbt index ad0f0b0581..982996ce34 100644 --- a/airspec/build.sbt +++ b/airspec/build.sbt @@ -71,7 +71,7 @@ val buildSettings = Seq[Setting[_]]( crossScalaVersions := targetScalaVersions, crossPaths := true, publishMavenStyle := true, - javacOptions ++= Seq("-source", "1.8", "-target", "1.8"), + javacOptions ++= Seq("-source", "11", "-target", "11"), scalacOptions ++= Seq( "-feature", "-deprecation" diff --git a/build.sbt b/build.sbt index 1cf920f153..c56bb56056 100644 --- a/build.sbt +++ b/build.sbt @@ -105,7 +105,7 @@ val buildSettings = Seq[Setting[_]]( ProblemFilters.exclude[MissingClassProblem]("wvlet.airframe.http.internal.*") ) }, - javacOptions ++= Seq("-source", "8", "-target", "8"), + javacOptions ++= Seq("-source", "11", "-target", "11"), scalacOptions ++= Seq( "-feature", "-deprecation" diff --git a/sbt-airframe/build.sbt b/sbt-airframe/build.sbt index 45739a7ec8..31bdb0ca79 100644 --- a/sbt-airframe/build.sbt +++ b/sbt-airframe/build.sbt @@ -29,7 +29,7 @@ val buildSettings = Seq[Setting[_]]( crossPaths := true, publishMavenStyle := true, publishTo := sonatypePublishToBundle.value, - javacOptions ++= Seq("-source", "1.8", "-target", "1.8"), + javacOptions ++= Seq("-source", "11", "-target", "11"), scalacOptions ++= Seq( "-feature", "-deprecation",