Skip to content

Commit

Permalink
plugin: use config scope for config settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ahjohannessen committed Jun 16, 2023
1 parent d83cf84 commit f16f3f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugin/src/main/scala/fs2/grpc/codegen/Fs2GrpcPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,12 @@ object Fs2GrpcPlugin extends AutoPlugin {
inConfig(config)(
List(
fs2GrpcServiceSuffix := "Fs2Grpc",
fs2GrpcOutputPath := sourceManaged.value / "fs2-grpc",
scalapbProtobufDirectory := sourceManaged.value / "scalapb",
fs2GrpcOutputPath := (config / sourceManaged).value / "fs2-grpc",
scalapbProtobufDirectory := (config / sourceManaged).value / "scalapb",
scalapbCodeGenerators := {
Target(
convertOptionsToScalapbGen(scalapbCodeGeneratorOptions.value.toSet),
sourceManaged.value / "scalapb"
(config / sourceManaged).value / "scalapb"
) ::
Option(
Target(
Expand Down

0 comments on commit f16f3f7

Please sign in to comment.