Skip to content

Commit

Permalink
Fork runnable subprojects (#1621)
Browse files Browse the repository at this point in the history
To account for changed behavior in (IIRC) sbt 1.6

To make e.g. `sbt "akka-grpc-plugin-tester-scala/runMain example.myapp.helloworld.GreeterServer"`
work

Fixes #1620
  • Loading branch information
raboof authored May 30, 2022
1 parent 081240d commit 4aa0467
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ lazy val pluginTesterScala = Project(id = "akka-grpc-plugin-tester-scala", base
.settings(Dependencies.pluginTester)
.settings(
(publish / skip) := true,
fork := true,
crossScalaVersions := Dependencies.Versions.CrossScalaForLib,
scalaVersion := scala212,
ReflectiveCodeGen.codeGeneratorSettings ++= Seq("flat_package", "server_power_apis"))
Expand All @@ -223,6 +224,7 @@ lazy val pluginTesterJava = Project(id = "akka-grpc-plugin-tester-java", base =
.settings(Dependencies.pluginTester)
.settings(
(publish / skip) := true,
fork := true,
ReflectiveCodeGen.generatedLanguages := Seq("Java"),
crossScalaVersions := Dependencies.Versions.CrossScalaForLib,
scalaVersion := scala212,
Expand Down

0 comments on commit 4aa0467

Please sign in to comment.