@@ -6,15 +6,15 @@ import com.google.protobuf.Descriptors.FieldDescriptor.JavaType
6
6
import com .google .protobuf .Descriptors ._
7
7
import com .google .protobuf .ExtensionRegistry
8
8
import com .google .protobuf .compiler .PluginProtos .{CodeGeneratorRequest , CodeGeneratorResponse }
9
- import com . trueaccord . scalapb .compiler .FunctionalPrinter .PrinterEndo
10
- import com . trueaccord . scalapb .compiler .{DescriptorPimps , FunctionalPrinter }
9
+ import scalapb .compiler .FunctionalPrinter .PrinterEndo
10
+ import scalapb .compiler .{DescriptorPimps , FunctionalPrinter }
11
11
12
12
import scala .collection .JavaConverters ._
13
- import scalapbshade . v0_6_7 . com . trueaccord . scalapb .Scalapb
13
+ import scalapb . options . compiler .Scalapb
14
14
15
15
object GatewayGenerator extends protocbridge.ProtocCodeGenerator with DescriptorPimps {
16
16
17
- override val params = com.trueaccord. scalapb.compiler.GeneratorParams ()
17
+ override val params = scalapb.compiler.GeneratorParams ()
18
18
19
19
override def run (requestBytes : Array [Byte ]): Array [Byte ] = {
20
20
val registry = ExtensionRegistry .newInstance()
@@ -48,8 +48,8 @@ object GatewayGenerator extends protocbridge.ProtocCodeGenerator with Descriptor
48
48
.add(s " package ${fileDesc.scalaPackageName}" )
49
49
.newline
50
50
.add(
51
- " import _root_.com.trueaccord. scalapb.GeneratedMessage" ,
52
- " import _root_.com.trueaccord. scalapb.json .JsonFormat" ,
51
+ " import _root_.scalapb.GeneratedMessage" ,
52
+ " import _root_.scalapb.json4s .JsonFormat" ,
53
53
" import _root_.grpcgateway.handlers._" ,
54
54
" import _root_.io.grpc._" ,
55
55
" import _root_.io.netty.handler.codec.http.{HttpMethod, QueryStringDecoder}"
@@ -58,7 +58,7 @@ object GatewayGenerator extends protocbridge.ProtocCodeGenerator with Descriptor
58
58
.add(
59
59
" import scala.collection.JavaConverters._" ,
60
60
" import scala.concurrent.{ExecutionContext, Future}" ,
61
- " import com.trueaccord. scalapb.json .JsonFormatException" ,
61
+ " import scalapb.json4s .JsonFormatException" ,
62
62
" import scala.util._"
63
63
)
64
64
.newline
0 commit comments