Skip to content

Commit

Permalink
--add-exports needed for self signed certificated under Java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurz committed Oct 4, 2022
1 parent b46bbef commit 67a5b47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions play-java-grpc-example/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ lazy val `play-java-grpc-example` = (project in file("."))
scalaVersion := "2.13.8"
scalacOptions ++= List("-encoding", "utf8", "-deprecation", "-feature", "-unchecked")
javacOptions ++= List("-Xlint:unchecked", "-Xlint:deprecation")
// Needed for ssl-config to create self signed certificated under Java 17
Test / javaOptions ++= List("--add-exports=java.base/sun.security.x509=ALL-UNNAMED")

val CompileDeps = Seq(
guice,
Expand Down

0 comments on commit 67a5b47

Please sign in to comment.