diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/feign/build.sbt.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/feign/build.sbt.mustache index 901dae3171fb..a1e09a4637ab 100644 --- a/modules/openapi-generator/src/main/resources/Java/libraries/feign/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/Java/libraries/feign/build.sbt.mustache @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "{{groupId}}", name := "{{artifactId}}", version := "{{artifactVersion}}", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/google-api-client/build.sbt.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/google-api-client/build.sbt.mustache index 2b2cc3d93ced..a849d22bedcc 100644 --- a/modules/openapi-generator/src/main/resources/Java/libraries/google-api-client/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/Java/libraries/google-api-client/build.sbt.mustache @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "{{groupId}}", name := "{{artifactId}}", version := "{{artifactVersion}}", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/jersey2/build.sbt.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/jersey2/build.sbt.mustache index fa3ead60a2d6..fa375253daaf 100644 --- a/modules/openapi-generator/src/main/resources/Java/libraries/jersey2/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/Java/libraries/jersey2/build.sbt.mustache @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "{{groupId}}", name := "{{artifactId}}", version := "{{artifactVersion}}", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), Compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/jersey3/build.sbt.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/jersey3/build.sbt.mustache index 5f07e56716e8..e6c7b8e57d02 100644 --- a/modules/openapi-generator/src/main/resources/Java/libraries/jersey3/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/Java/libraries/jersey3/build.sbt.mustache @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "{{groupId}}", name := "{{artifactId}}", version := "{{artifactVersion}}", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), Compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.sbt.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.sbt.mustache index bcb6af0c5161..b5f934fa8c3c 100644 --- a/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.sbt.mustache @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "{{groupId}}", name := "{{artifactId}}", version := "{{artifactVersion}}", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/rest-assured/build.sbt.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/rest-assured/build.sbt.mustache index c8bda6e65ac1..9c2684857509 100644 --- a/modules/openapi-generator/src/main/resources/Java/libraries/rest-assured/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/Java/libraries/rest-assured/build.sbt.mustache @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "{{groupId}}", name := "{{artifactId}}", version := "{{artifactVersion}}", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/resteasy/build.sbt.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/resteasy/build.sbt.mustache index b1b216b8cd4b..3b2b1086a275 100644 --- a/modules/openapi-generator/src/main/resources/Java/libraries/resteasy/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/Java/libraries/resteasy/build.sbt.mustache @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "{{groupId}}", name := "{{artifactId}}", version := "{{artifactVersion}}", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/retrofit2/build.sbt.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/retrofit2/build.sbt.mustache index 93d7f43f3b18..c7113662a394 100644 --- a/modules/openapi-generator/src/main/resources/Java/libraries/retrofit2/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/Java/libraries/retrofit2/build.sbt.mustache @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "{{groupId}}", name := "{{artifactId}}", version := "{{artifactVersion}}", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/modules/openapi-generator/src/main/resources/JavaPlayFramework/build.mustache b/modules/openapi-generator/src/main/resources/JavaPlayFramework/build.mustache index 31b4262231f0..36753f63262b 100644 --- a/modules/openapi-generator/src/main/resources/JavaPlayFramework/build.mustache +++ b/modules/openapi-generator/src/main/resources/JavaPlayFramework/build.mustache @@ -4,7 +4,7 @@ version := "1.0-SNAPSHOT" lazy val root = (project in file(".")).enablePlugins(PlayJava) -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" {{#useSwaggerUI}} libraryDependencies += "org.webjars" % "swagger-ui" % "3.32.5" diff --git a/modules/openapi-generator/src/main/resources/scala-akka-client/build.sbt.mustache b/modules/openapi-generator/src/main/resources/scala-akka-client/build.sbt.mustache index 985a27026f26..32c4603cf0ec 100644 --- a/modules/openapi-generator/src/main/resources/scala-akka-client/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/scala-akka-client/build.sbt.mustache @@ -2,8 +2,8 @@ version := "{{artifactVersion}}" name := "{{artifactId}}" organization := "{{groupId}}" -scalaVersion := "2.12.13" -crossScalaVersions := Seq(scalaVersion.value, "2.13.4") +scalaVersion := "2.12.20" +crossScalaVersions := Seq(scalaVersion.value, "2.13.16") libraryDependencies ++= Seq( diff --git a/modules/openapi-generator/src/main/resources/scala-akka-http-server/build.sbt.mustache b/modules/openapi-generator/src/main/resources/scala-akka-http-server/build.sbt.mustache index b6f1149a4023..eaca841e2bef 100644 --- a/modules/openapi-generator/src/main/resources/scala-akka-http-server/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/scala-akka-http-server/build.sbt.mustache @@ -1,7 +1,7 @@ version := "{{artifactVersion}}" name := "{{artifactId}}" organization := "{{groupId}}" -scalaVersion := "2.12.8" +scalaVersion := "2.12.20" libraryDependencies ++= Seq({{#useApachePekko}} "org.apache.pekko" %% "pekko-stream" % "1.0.3", diff --git a/modules/openapi-generator/src/main/resources/scala-http4s-server/build.sbt b/modules/openapi-generator/src/main/resources/scala-http4s-server/build.sbt index 70c616516402..23bdb60d69ef 100644 --- a/modules/openapi-generator/src/main/resources/scala-http4s-server/build.sbt +++ b/modules/openapi-generator/src/main/resources/scala-http4s-server/build.sbt @@ -1,4 +1,4 @@ -scalaVersion := "2.13.11" +scalaVersion := "2.13.16" scalacOptions += "-Ymacro-annotations" val circeVersion = "0.14.5" @@ -18,7 +18,7 @@ val cats = Seq("org.typelevel" %% "cats-core" % catsVersion) lazy val compilerPlugins = Seq( compilerPlugin("com.olegpy" %% "better-monadic-for" % "0.3.1"), - compilerPlugin("org.typelevel" %% "kind-projector" % "0.13.2" cross CrossVersion.full) + compilerPlugin("org.typelevel" %% "kind-projector" % "0.13.3" cross CrossVersion.full) ) libraryDependencies ++= (Seq( diff --git a/modules/openapi-generator/src/main/resources/scala-http4s/build.sbt.mustache b/modules/openapi-generator/src/main/resources/scala-http4s/build.sbt.mustache index af5c5a47f385..bfac2d7dd408 100644 --- a/modules/openapi-generator/src/main/resources/scala-http4s/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/scala-http4s/build.sbt.mustache @@ -1,4 +1,4 @@ -scalaVersion := "3.3.3" +scalaVersion := "3.6.4" version := "{{artifactVersion}}" name := "{{artifactId}}" diff --git a/modules/openapi-generator/src/main/resources/scala-pekko-client/build.sbt.mustache b/modules/openapi-generator/src/main/resources/scala-pekko-client/build.sbt.mustache index bb0967c5d253..2a9a8d5e3aa5 100644 --- a/modules/openapi-generator/src/main/resources/scala-pekko-client/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/scala-pekko-client/build.sbt.mustache @@ -2,7 +2,7 @@ version := "{{artifactVersion}}" name := "{{artifactId}}" organization := "{{groupId}}" -scalaVersion := "2.13.12" +scalaVersion := "2.13.16" val PekkoVersion = "1.0.2" libraryDependencies ++= Seq( diff --git a/modules/openapi-generator/src/main/resources/scala-play-server/build.sbt.mustache b/modules/openapi-generator/src/main/resources/scala-play-server/build.sbt.mustache index c6122070664f..fdeb50cedae8 100644 --- a/modules/openapi-generator/src/main/resources/scala-play-server/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/scala-play-server/build.sbt.mustache @@ -1,7 +1,7 @@ organization := "{{groupId}}" version := "{{artifactVersion}}" name := "{{artifactId}}" -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" enablePlugins(PlayScala) diff --git a/modules/openapi-generator/src/main/resources/scala-sttp/build.sbt.mustache b/modules/openapi-generator/src/main/resources/scala-sttp/build.sbt.mustache index b99fa95cf5b6..b7a40f8682a4 100644 --- a/modules/openapi-generator/src/main/resources/scala-sttp/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/scala-sttp/build.sbt.mustache @@ -2,8 +2,8 @@ version := "{{artifactVersion}}" name := "{{artifactId}}" organization := "{{groupId}}" -scalaVersion := "2.13.10" -crossScalaVersions := Seq(scalaVersion.value, "2.12.17") +scalaVersion := "2.13.16" +crossScalaVersions := Seq(scalaVersion.value, "2.12.20") libraryDependencies ++= Seq( "com.softwaremill.sttp.client3" %% "core" % "{{sttpClientVersion}}", diff --git a/modules/openapi-generator/src/main/resources/scala-sttp4/build.sbt.mustache b/modules/openapi-generator/src/main/resources/scala-sttp4/build.sbt.mustache index 2c5216a8b88a..d915432ab27a 100644 --- a/modules/openapi-generator/src/main/resources/scala-sttp4/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/scala-sttp4/build.sbt.mustache @@ -2,8 +2,8 @@ version := "{{artifactVersion}}" name := "{{artifactId}}" organization := "{{groupId}}" -scalaVersion := "2.13.10" -crossScalaVersions := Seq(scalaVersion.value, "2.12.17") +scalaVersion := "2.13.16" +crossScalaVersions := Seq(scalaVersion.value, "2.12.20") libraryDependencies ++= Seq( "com.softwaremill.sttp.client4" %% "core" % "{{sttpClientVersion}}", diff --git a/modules/openapi-generator/src/main/resources/scalatra/build.mustache b/modules/openapi-generator/src/main/resources/scalatra/build.mustache index e6f0b6381fbf..0aff1c3a50e1 100644 --- a/modules/openapi-generator/src/main/resources/scalatra/build.mustache +++ b/modules/openapi-generator/src/main/resources/scalatra/build.mustache @@ -1,7 +1,7 @@ organization := "{{groupId}}" name := "{{groupId}}-{{artifactId}}" version := "{{artifactVersion}}" -scalaVersion := "2.12.4" +scalaVersion := "2.12.20" mainClass in assembly := Some("JettyMain") diff --git a/modules/openapi-generator/src/main/resources/scalaz/build.sbt.mustache b/modules/openapi-generator/src/main/resources/scalaz/build.sbt.mustache index 0153bb64d347..2a1ba3cd1680 100644 --- a/modules/openapi-generator/src/main/resources/scalaz/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/scalaz/build.sbt.mustache @@ -1,4 +1,4 @@ -scalaVersion := "2.11.8" +scalaVersion := "2.11.12" val http4sVersion = "0.15.12a" val scalazVersion = "7.2.12" diff --git a/modules/openapi-generator/src/test/resources/2_0/templates/Java/libraries/jersey2/build.sbt.mustache b/modules/openapi-generator/src/test/resources/2_0/templates/Java/libraries/jersey2/build.sbt.mustache index 9c6c436dd0c1..0962ac80182d 100644 --- a/modules/openapi-generator/src/test/resources/2_0/templates/Java/libraries/jersey2/build.sbt.mustache +++ b/modules/openapi-generator/src/test/resources/2_0/templates/Java/libraries/jersey2/build.sbt.mustache @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "{{groupId}}", name := "{{artifactId}}", version := "{{artifactVersion}}", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/echo_api/java/feign-gson/build.sbt b/samples/client/echo_api/java/feign-gson/build.sbt index 404cf675521d..a86ad0e0ec53 100644 --- a/samples/client/echo_api/java/feign-gson/build.sbt +++ b/samples/client/echo_api/java/feign-gson/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "echo-api-feign-json", version := "0.1.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/build.sbt b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/build.sbt index 3dc0c731979b..f4136e440d67 100644 --- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/build.sbt +++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "openapi-java-client", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/echo_api/java/okhttp-gson/build.sbt b/samples/client/echo_api/java/okhttp-gson/build.sbt index d906ef556dd2..24010ac139cd 100644 --- a/samples/client/echo_api/java/okhttp-gson/build.sbt +++ b/samples/client/echo_api/java/okhttp-gson/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "echo-api-okhttp-gson", version := "0.1.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/echo_api/java/resteasy/build.sbt b/samples/client/echo_api/java/resteasy/build.sbt index ddb3a9e8ba9e..f3a95907d7e1 100644 --- a/samples/client/echo_api/java/resteasy/build.sbt +++ b/samples/client/echo_api/java/resteasy/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-resteasy-echo", version := "0.1.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/others/java/jersey2-oneOf-Mixed/build.sbt b/samples/client/others/java/jersey2-oneOf-Mixed/build.sbt index ce81568d7844..78f0c7496d20 100644 --- a/samples/client/others/java/jersey2-oneOf-Mixed/build.sbt +++ b/samples/client/others/java/jersey2-oneOf-Mixed/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "openapi-java-client", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), Compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/others/java/jersey2-oneOf-duplicates/build.sbt b/samples/client/others/java/jersey2-oneOf-duplicates/build.sbt index ce81568d7844..78f0c7496d20 100644 --- a/samples/client/others/java/jersey2-oneOf-duplicates/build.sbt +++ b/samples/client/others/java/jersey2-oneOf-duplicates/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "openapi-java-client", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), Compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/others/java/okhttp-gson-oneOf-array/build.sbt b/samples/client/others/java/okhttp-gson-oneOf-array/build.sbt index 34b39f4f3aca..0e740753d9ef 100644 --- a/samples/client/others/java/okhttp-gson-oneOf-array/build.sbt +++ b/samples/client/others/java/okhttp-gson-oneOf-array/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "openapi-java-client", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/others/java/okhttp-gson-oneOf/build.sbt b/samples/client/others/java/okhttp-gson-oneOf/build.sbt index 34b39f4f3aca..0e740753d9ef 100644 --- a/samples/client/others/java/okhttp-gson-oneOf/build.sbt +++ b/samples/client/others/java/okhttp-gson-oneOf/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "openapi-java-client", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/others/java/okhttp-gson-streaming/build.sbt b/samples/client/others/java/okhttp-gson-streaming/build.sbt index 6e20a926e617..dc4f0037fb98 100644 --- a/samples/client/others/java/okhttp-gson-streaming/build.sbt +++ b/samples/client/others/java/okhttp-gson-streaming/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-okhttp-gson", version := "1.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/feign-no-nullable/build.sbt b/samples/client/petstore/java/feign-no-nullable/build.sbt index c6117f7eecb8..41a62040ce0f 100644 --- a/samples/client/petstore/java/feign-no-nullable/build.sbt +++ b/samples/client/petstore/java/feign-no-nullable/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-feign-no-nullable", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/feign/build.sbt b/samples/client/petstore/java/feign/build.sbt index b14b14a81f03..b7a2c2113c75 100644 --- a/samples/client/petstore/java/feign/build.sbt +++ b/samples/client/petstore/java/feign/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-feign", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/google-api-client/build.sbt b/samples/client/petstore/java/google-api-client/build.sbt index 71b7f673938b..3b960a90d8cc 100644 --- a/samples/client/petstore/java/google-api-client/build.sbt +++ b/samples/client/petstore/java/google-api-client/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-google-api-client", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/build.sbt b/samples/client/petstore/java/jersey2-java8-localdatetime/build.sbt index 3c54441eae18..8df2920ae9ad 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/build.sbt +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-jersey2-java8-localdatetime", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), Compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/jersey2-java8/build.sbt b/samples/client/petstore/java/jersey2-java8/build.sbt index 990eb0f811e5..d6162fe9327f 100644 --- a/samples/client/petstore/java/jersey2-java8/build.sbt +++ b/samples/client/petstore/java/jersey2-java8/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-jersey2-java8", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), Compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/jersey3-oneOf/build.sbt b/samples/client/petstore/java/jersey3-oneOf/build.sbt index c42ceb1a41f9..fe0013f97583 100644 --- a/samples/client/petstore/java/jersey3-oneOf/build.sbt +++ b/samples/client/petstore/java/jersey3-oneOf/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "openapi-java-client", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), Compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/jersey3/build.sbt b/samples/client/petstore/java/jersey3/build.sbt index 693ad5c72089..781f8ab14b3b 100644 --- a/samples/client/petstore/java/jersey3/build.sbt +++ b/samples/client/petstore/java/jersey3/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-jersey3", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), Compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/okhttp-gson-3.1-duplicated-operationid/build.sbt b/samples/client/petstore/java/okhttp-gson-3.1-duplicated-operationid/build.sbt index 554a4b24b7a2..1f9cbad62d51 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1-duplicated-operationid/build.sbt +++ b/samples/client/petstore/java/okhttp-gson-3.1-duplicated-operationid/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-okhttp-gson-31-do", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/okhttp-gson-3.1/build.sbt b/samples/client/petstore/java/okhttp-gson-3.1/build.sbt index 8292518b0afb..b647cc20ae32 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/build.sbt +++ b/samples/client/petstore/java/okhttp-gson-3.1/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-okhttp-gson-31", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/okhttp-gson-awsv4signature/build.sbt b/samples/client/petstore/java/okhttp-gson-awsv4signature/build.sbt index 2b4d28067c90..5b1450db8aaa 100644 --- a/samples/client/petstore/java/okhttp-gson-awsv4signature/build.sbt +++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "okhttp-gson-awsv4signature", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/build.sbt b/samples/client/petstore/java/okhttp-gson-dynamicOperations/build.sbt index b040987a156f..a5e5d86db37e 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/build.sbt +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-okhttp-gson-dynamicoperations", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/okhttp-gson-group-parameter/build.sbt b/samples/client/petstore/java/okhttp-gson-group-parameter/build.sbt index dc790e2d7ce8..20545f57494f 100644 --- a/samples/client/petstore/java/okhttp-gson-group-parameter/build.sbt +++ b/samples/client/petstore/java/okhttp-gson-group-parameter/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-okhttp-gson-group-parameter", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/build.sbt b/samples/client/petstore/java/okhttp-gson-nullable-required/build.sbt index 525685bb8118..b7456bb59082 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/build.sbt +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "nullable-required-okhttp-gson", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/build.sbt b/samples/client/petstore/java/okhttp-gson-parcelableModel/build.sbt index b7eecdfb4a7a..ebe4f58bf4cd 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/build.sbt +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-okhttp-gson-parcelableModel", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/okhttp-gson-swagger1/build.sbt b/samples/client/petstore/java/okhttp-gson-swagger1/build.sbt index df1dd030741a..186823ff8e19 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger1/build.sbt +++ b/samples/client/petstore/java/okhttp-gson-swagger1/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-okhttp-gson", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/okhttp-gson-swagger2/build.sbt b/samples/client/petstore/java/okhttp-gson-swagger2/build.sbt index df1dd030741a..186823ff8e19 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger2/build.sbt +++ b/samples/client/petstore/java/okhttp-gson-swagger2/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-okhttp-gson", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/okhttp-gson/build.sbt b/samples/client/petstore/java/okhttp-gson/build.sbt index df1dd030741a..186823ff8e19 100644 --- a/samples/client/petstore/java/okhttp-gson/build.sbt +++ b/samples/client/petstore/java/okhttp-gson/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-okhttp-gson", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/rest-assured-jackson/build.sbt b/samples/client/petstore/java/rest-assured-jackson/build.sbt index 1337514fec54..96fa6aa06dc7 100644 --- a/samples/client/petstore/java/rest-assured-jackson/build.sbt +++ b/samples/client/petstore/java/rest-assured-jackson/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-rest-assured-jackson", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/rest-assured/build.sbt b/samples/client/petstore/java/rest-assured/build.sbt index 29b308f74a90..9fe2ac94db32 100644 --- a/samples/client/petstore/java/rest-assured/build.sbt +++ b/samples/client/petstore/java/rest-assured/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-rest-assured", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/resteasy/build.sbt b/samples/client/petstore/java/resteasy/build.sbt index 6b605b726c62..49e927d9b92f 100644 --- a/samples/client/petstore/java/resteasy/build.sbt +++ b/samples/client/petstore/java/resteasy/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-resteasy", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/retrofit2-play26/build.sbt b/samples/client/petstore/java/retrofit2-play26/build.sbt index 4e83a7a56903..94758723911c 100644 --- a/samples/client/petstore/java/retrofit2-play26/build.sbt +++ b/samples/client/petstore/java/retrofit2-play26/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-java-client-retrofit2-play26", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/retrofit2/build.sbt b/samples/client/petstore/java/retrofit2/build.sbt index 94efc4263284..2c67635ae16d 100644 --- a/samples/client/petstore/java/retrofit2/build.sbt +++ b/samples/client/petstore/java/retrofit2/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-retrofit2", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/retrofit2rx2/build.sbt b/samples/client/petstore/java/retrofit2rx2/build.sbt index 65f6d85108f6..b25bb2c3ee08 100644 --- a/samples/client/petstore/java/retrofit2rx2/build.sbt +++ b/samples/client/petstore/java/retrofit2rx2/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-retrofit2-rx2", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/retrofit2rx3/build.sbt b/samples/client/petstore/java/retrofit2rx3/build.sbt index 89557ecc5e2d..28bb9d6849cb 100644 --- a/samples/client/petstore/java/retrofit2rx3/build.sbt +++ b/samples/client/petstore/java/retrofit2rx3/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-retrofit2-rx3", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/scala-akka/build.sbt b/samples/client/petstore/scala-akka/build.sbt index 06fb099f8268..e7cc509a5ff3 100644 --- a/samples/client/petstore/scala-akka/build.sbt +++ b/samples/client/petstore/scala-akka/build.sbt @@ -2,8 +2,8 @@ version := "1.0.0" name := "scala-akka-petstore-client" organization := "org.openapitools" -scalaVersion := "2.12.13" -crossScalaVersions := Seq(scalaVersion.value, "2.13.4") +scalaVersion := "2.12.20" +crossScalaVersions := Seq(scalaVersion.value, "2.13.16") libraryDependencies ++= Seq( diff --git a/samples/client/petstore/scala-http4s/build.sbt b/samples/client/petstore/scala-http4s/build.sbt index c74943d3ae78..61e6bc38e6c6 100644 --- a/samples/client/petstore/scala-http4s/build.sbt +++ b/samples/client/petstore/scala-http4s/build.sbt @@ -1,4 +1,4 @@ -scalaVersion := "3.3.3" +scalaVersion := "3.6.4" version := "1.0.0" name := "scala-http4s-client" diff --git a/samples/client/petstore/scala-pekko/build.sbt b/samples/client/petstore/scala-pekko/build.sbt index cb4a564ca244..c5832f45ca34 100644 --- a/samples/client/petstore/scala-pekko/build.sbt +++ b/samples/client/petstore/scala-pekko/build.sbt @@ -2,7 +2,7 @@ version := "1.0.0" name := "scala-pekko-petstore-client" organization := "org.openapitools" -scalaVersion := "2.13.12" +scalaVersion := "2.13.16" val PekkoVersion = "1.0.2" libraryDependencies ++= Seq( diff --git a/samples/client/petstore/scala-sttp/build.sbt b/samples/client/petstore/scala-sttp/build.sbt index a3e629330e7c..36997bae72af 100644 --- a/samples/client/petstore/scala-sttp/build.sbt +++ b/samples/client/petstore/scala-sttp/build.sbt @@ -2,8 +2,8 @@ version := "1.0.0" name := "scala-sttp-petstore" organization := "org.openapitools" -scalaVersion := "2.13.10" -crossScalaVersions := Seq(scalaVersion.value, "2.12.17") +scalaVersion := "2.13.16" +crossScalaVersions := Seq(scalaVersion.value, "2.12.20") libraryDependencies ++= Seq( "com.softwaremill.sttp.client3" %% "core" % "3.3.18", diff --git a/samples/client/petstore/scala-sttp4/build.sbt b/samples/client/petstore/scala-sttp4/build.sbt index 928978cd680a..9ad901170074 100644 --- a/samples/client/petstore/scala-sttp4/build.sbt +++ b/samples/client/petstore/scala-sttp4/build.sbt @@ -2,8 +2,8 @@ version := "1.0.0" name := "openapi-client" organization := "org.openapitools" -scalaVersion := "2.13.10" -crossScalaVersions := Seq(scalaVersion.value, "2.12.17") +scalaVersion := "2.13.16" +crossScalaVersions := Seq(scalaVersion.value, "2.12.20") libraryDependencies ++= Seq( "com.softwaremill.sttp.client4" %% "core" % "4.0.0-M1", diff --git a/samples/client/petstore/scalaz/build.sbt b/samples/client/petstore/scalaz/build.sbt index 0153bb64d347..2a1ba3cd1680 100644 --- a/samples/client/petstore/scalaz/build.sbt +++ b/samples/client/petstore/scalaz/build.sbt @@ -1,4 +1,4 @@ -scalaVersion := "2.11.8" +scalaVersion := "2.11.12" val http4sVersion = "0.15.12a" val scalazVersion = "7.2.12" diff --git a/samples/openapi3/client/extensions/x-auth-id-alias/java/jersey2-java8/build.sbt b/samples/openapi3/client/extensions/x-auth-id-alias/java/jersey2-java8/build.sbt index b5f91f274c73..d840e9bb0c79 100644 --- a/samples/openapi3/client/extensions/x-auth-id-alias/java/jersey2-java8/build.sbt +++ b/samples/openapi3/client/extensions/x-auth-id-alias/java/jersey2-java8/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "openapi3-extensions-x-auth-id-alias-jersey2-java8", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), Compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/openapi3/client/petstore/java/jersey2-java8-special-characters/build.sbt b/samples/openapi3/client/petstore/java/jersey2-java8-special-characters/build.sbt index 76f25835b9c0..6a31c778bba6 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8-special-characters/build.sbt +++ b/samples/openapi3/client/petstore/java/jersey2-java8-special-characters/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-openapi3-jersey2-java8-special-characters", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), Compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/build.sbt b/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/build.sbt index f8e07fa6fa8b..5de17d03e5e5 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/build.sbt +++ b/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-openapi3-jersey2-java8", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), Compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/build.sbt b/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/build.sbt index f8e07fa6fa8b..5de17d03e5e5 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/build.sbt +++ b/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-openapi3-jersey2-java8", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), Compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/build.sbt b/samples/openapi3/client/petstore/java/jersey2-java8/build.sbt index 873fe19c3f15..1535ad5b043f 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/build.sbt +++ b/samples/openapi3/client/petstore/java/jersey2-java8/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-openapi3-jersey2-java8", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), Compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/server/petstore/java-play-framework-api-package-override/build.sbt b/samples/server/petstore/java-play-framework-api-package-override/build.sbt index 69dfa74cd8ad..e73b75e9aebc 100644 --- a/samples/server/petstore/java-play-framework-api-package-override/build.sbt +++ b/samples/server/petstore/java-play-framework-api-package-override/build.sbt @@ -4,7 +4,7 @@ version := "1.0-SNAPSHOT" lazy val root = (project in file(".")).enablePlugins(PlayJava) -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" libraryDependencies += "org.webjars" % "swagger-ui" % "3.32.5" libraryDependencies += "javax.validation" % "validation-api" % "2.0.1.Final" diff --git a/samples/server/petstore/java-play-framework-async/build.sbt b/samples/server/petstore/java-play-framework-async/build.sbt index 69dfa74cd8ad..e73b75e9aebc 100644 --- a/samples/server/petstore/java-play-framework-async/build.sbt +++ b/samples/server/petstore/java-play-framework-async/build.sbt @@ -4,7 +4,7 @@ version := "1.0-SNAPSHOT" lazy val root = (project in file(".")).enablePlugins(PlayJava) -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" libraryDependencies += "org.webjars" % "swagger-ui" % "3.32.5" libraryDependencies += "javax.validation" % "validation-api" % "2.0.1.Final" diff --git a/samples/server/petstore/java-play-framework-controller-only/build.sbt b/samples/server/petstore/java-play-framework-controller-only/build.sbt index 69dfa74cd8ad..e73b75e9aebc 100644 --- a/samples/server/petstore/java-play-framework-controller-only/build.sbt +++ b/samples/server/petstore/java-play-framework-controller-only/build.sbt @@ -4,7 +4,7 @@ version := "1.0-SNAPSHOT" lazy val root = (project in file(".")).enablePlugins(PlayJava) -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" libraryDependencies += "org.webjars" % "swagger-ui" % "3.32.5" libraryDependencies += "javax.validation" % "validation-api" % "2.0.1.Final" diff --git a/samples/server/petstore/java-play-framework-fake-endpoints-with-security/build.sbt b/samples/server/petstore/java-play-framework-fake-endpoints-with-security/build.sbt index 69dfa74cd8ad..e73b75e9aebc 100644 --- a/samples/server/petstore/java-play-framework-fake-endpoints-with-security/build.sbt +++ b/samples/server/petstore/java-play-framework-fake-endpoints-with-security/build.sbt @@ -4,7 +4,7 @@ version := "1.0-SNAPSHOT" lazy val root = (project in file(".")).enablePlugins(PlayJava) -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" libraryDependencies += "org.webjars" % "swagger-ui" % "3.32.5" libraryDependencies += "javax.validation" % "validation-api" % "2.0.1.Final" diff --git a/samples/server/petstore/java-play-framework-fake-endpoints/build.sbt b/samples/server/petstore/java-play-framework-fake-endpoints/build.sbt index 69dfa74cd8ad..e73b75e9aebc 100644 --- a/samples/server/petstore/java-play-framework-fake-endpoints/build.sbt +++ b/samples/server/petstore/java-play-framework-fake-endpoints/build.sbt @@ -4,7 +4,7 @@ version := "1.0-SNAPSHOT" lazy val root = (project in file(".")).enablePlugins(PlayJava) -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" libraryDependencies += "org.webjars" % "swagger-ui" % "3.32.5" libraryDependencies += "javax.validation" % "validation-api" % "2.0.1.Final" diff --git a/samples/server/petstore/java-play-framework-no-bean-validation/build.sbt b/samples/server/petstore/java-play-framework-no-bean-validation/build.sbt index 5e356fcab668..2cacc2726d17 100644 --- a/samples/server/petstore/java-play-framework-no-bean-validation/build.sbt +++ b/samples/server/petstore/java-play-framework-no-bean-validation/build.sbt @@ -4,7 +4,7 @@ version := "1.0-SNAPSHOT" lazy val root = (project in file(".")).enablePlugins(PlayJava) -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" libraryDependencies += "org.webjars" % "swagger-ui" % "3.32.5" libraryDependencies += guice diff --git a/samples/server/petstore/java-play-framework-no-exception-handling/build.sbt b/samples/server/petstore/java-play-framework-no-exception-handling/build.sbt index 69dfa74cd8ad..e73b75e9aebc 100644 --- a/samples/server/petstore/java-play-framework-no-exception-handling/build.sbt +++ b/samples/server/petstore/java-play-framework-no-exception-handling/build.sbt @@ -4,7 +4,7 @@ version := "1.0-SNAPSHOT" lazy val root = (project in file(".")).enablePlugins(PlayJava) -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" libraryDependencies += "org.webjars" % "swagger-ui" % "3.32.5" libraryDependencies += "javax.validation" % "validation-api" % "2.0.1.Final" diff --git a/samples/server/petstore/java-play-framework-no-interface/build.sbt b/samples/server/petstore/java-play-framework-no-interface/build.sbt index 69dfa74cd8ad..e73b75e9aebc 100644 --- a/samples/server/petstore/java-play-framework-no-interface/build.sbt +++ b/samples/server/petstore/java-play-framework-no-interface/build.sbt @@ -4,7 +4,7 @@ version := "1.0-SNAPSHOT" lazy val root = (project in file(".")).enablePlugins(PlayJava) -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" libraryDependencies += "org.webjars" % "swagger-ui" % "3.32.5" libraryDependencies += "javax.validation" % "validation-api" % "2.0.1.Final" diff --git a/samples/server/petstore/java-play-framework-no-nullable/build.sbt b/samples/server/petstore/java-play-framework-no-nullable/build.sbt index 69dfa74cd8ad..e73b75e9aebc 100644 --- a/samples/server/petstore/java-play-framework-no-nullable/build.sbt +++ b/samples/server/petstore/java-play-framework-no-nullable/build.sbt @@ -4,7 +4,7 @@ version := "1.0-SNAPSHOT" lazy val root = (project in file(".")).enablePlugins(PlayJava) -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" libraryDependencies += "org.webjars" % "swagger-ui" % "3.32.5" libraryDependencies += "javax.validation" % "validation-api" % "2.0.1.Final" diff --git a/samples/server/petstore/java-play-framework-no-swagger-ui/build.sbt b/samples/server/petstore/java-play-framework-no-swagger-ui/build.sbt index fa1b6982eb18..5d27bd401bb9 100644 --- a/samples/server/petstore/java-play-framework-no-swagger-ui/build.sbt +++ b/samples/server/petstore/java-play-framework-no-swagger-ui/build.sbt @@ -4,7 +4,7 @@ version := "1.0-SNAPSHOT" lazy val root = (project in file(".")).enablePlugins(PlayJava) -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" libraryDependencies += "javax.validation" % "validation-api" % "2.0.1.Final" libraryDependencies += guice diff --git a/samples/server/petstore/java-play-framework-no-wrap-calls/build.sbt b/samples/server/petstore/java-play-framework-no-wrap-calls/build.sbt index 69dfa74cd8ad..e73b75e9aebc 100644 --- a/samples/server/petstore/java-play-framework-no-wrap-calls/build.sbt +++ b/samples/server/petstore/java-play-framework-no-wrap-calls/build.sbt @@ -4,7 +4,7 @@ version := "1.0-SNAPSHOT" lazy val root = (project in file(".")).enablePlugins(PlayJava) -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" libraryDependencies += "org.webjars" % "swagger-ui" % "3.32.5" libraryDependencies += "javax.validation" % "validation-api" % "2.0.1.Final" diff --git a/samples/server/petstore/java-play-framework/build.sbt b/samples/server/petstore/java-play-framework/build.sbt index 69dfa74cd8ad..e73b75e9aebc 100644 --- a/samples/server/petstore/java-play-framework/build.sbt +++ b/samples/server/petstore/java-play-framework/build.sbt @@ -4,7 +4,7 @@ version := "1.0-SNAPSHOT" lazy val root = (project in file(".")).enablePlugins(PlayJava) -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" libraryDependencies += "org.webjars" % "swagger-ui" % "3.32.5" libraryDependencies += "javax.validation" % "validation-api" % "2.0.1.Final" diff --git a/samples/server/petstore/scala-akka-http-server/build.sbt b/samples/server/petstore/scala-akka-http-server/build.sbt index f78b367397d5..cef46671e86d 100644 --- a/samples/server/petstore/scala-akka-http-server/build.sbt +++ b/samples/server/petstore/scala-akka-http-server/build.sbt @@ -1,7 +1,7 @@ version := "1.0.0" name := "openapi-scala-akka-http-server" organization := "org.openapitools" -scalaVersion := "2.12.8" +scalaVersion := "2.12.20" libraryDependencies ++= Seq( "com.typesafe.akka" %% "akka-stream" % "2.5.21", diff --git a/samples/server/petstore/scala-http4s-server/build.sbt b/samples/server/petstore/scala-http4s-server/build.sbt index 70c616516402..23bdb60d69ef 100644 --- a/samples/server/petstore/scala-http4s-server/build.sbt +++ b/samples/server/petstore/scala-http4s-server/build.sbt @@ -1,4 +1,4 @@ -scalaVersion := "2.13.11" +scalaVersion := "2.13.16" scalacOptions += "-Ymacro-annotations" val circeVersion = "0.14.5" @@ -18,7 +18,7 @@ val cats = Seq("org.typelevel" %% "cats-core" % catsVersion) lazy val compilerPlugins = Seq( compilerPlugin("com.olegpy" %% "better-monadic-for" % "0.3.1"), - compilerPlugin("org.typelevel" %% "kind-projector" % "0.13.2" cross CrossVersion.full) + compilerPlugin("org.typelevel" %% "kind-projector" % "0.13.3" cross CrossVersion.full) ) libraryDependencies ++= (Seq( diff --git a/samples/server/petstore/scala-lagom-server/build.sbt b/samples/server/petstore/scala-lagom-server/build.sbt index b6ab43cf17b3..17190a172a74 100644 --- a/samples/server/petstore/scala-lagom-server/build.sbt +++ b/samples/server/petstore/scala-lagom-server/build.sbt @@ -4,7 +4,7 @@ name := "scala-lagom-server" organization := "org.openapitools" -scalaVersion := "2.11.8" +scalaVersion := "2.11.12" val playJsonDerivedCodecs = "org.julienrf" %% "play-json-derived-codecs" % "3.3" diff --git a/samples/server/petstore/scala-pekko-http-server/build.sbt b/samples/server/petstore/scala-pekko-http-server/build.sbt index 61690fec7f17..2f87c22d6555 100644 --- a/samples/server/petstore/scala-pekko-http-server/build.sbt +++ b/samples/server/petstore/scala-pekko-http-server/build.sbt @@ -1,7 +1,7 @@ version := "1.0.0" name := "openapi-scala-pekko-http-server" organization := "org.openapitools" -scalaVersion := "2.12.8" +scalaVersion := "2.12.20" libraryDependencies ++= Seq( "org.apache.pekko" %% "pekko-stream" % "1.0.3", diff --git a/samples/server/petstore/scala-play-server/build.sbt b/samples/server/petstore/scala-play-server/build.sbt index 5d0c149bee4f..256757cf1a52 100644 --- a/samples/server/petstore/scala-play-server/build.sbt +++ b/samples/server/petstore/scala-play-server/build.sbt @@ -1,7 +1,7 @@ organization := "" version := "" name := "" -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" enablePlugins(PlayScala) diff --git a/samples/server/petstore/scalatra/build.sbt b/samples/server/petstore/scalatra/build.sbt index 4e3742081447..cca81187eade 100644 --- a/samples/server/petstore/scalatra/build.sbt +++ b/samples/server/petstore/scalatra/build.sbt @@ -1,7 +1,7 @@ organization := "org.openapitools" name := "scalatra-sample" version := "0.1.0-SNAPSHOT" -scalaVersion := "2.12.4" +scalaVersion := "2.12.20" mainClass in assembly := Some("JettyMain")