|  | 
| 27 | 27 |             <version>${grpc.version}</version> | 
| 28 | 28 |         </dependency> | 
| 29 | 29 | 
 | 
|  | 30 | +        <dependency> | 
|  | 31 | +            <groupId>io.grpc</groupId> | 
|  | 32 | +            <artifactId>grpc-kotlin-stub</artifactId> | 
|  | 33 | +            <version>${grpc-kotlin.version}</version> | 
|  | 34 | +        </dependency> | 
|  | 35 | + | 
| 30 | 36 |         <dependency> | 
| 31 | 37 |             <groupId>com.google.protobuf</groupId> | 
| 32 | 38 |             <artifactId>protobuf-java</artifactId> | 
| 33 | 39 |             <version>${protobuf.version}</version> | 
| 34 | 40 |         </dependency> | 
| 35 | 41 | 
 | 
|  | 42 | +        <dependency> | 
|  | 43 | +            <groupId>org.jetbrains.kotlinx</groupId> | 
|  | 44 | +            <artifactId>kotlinx-coroutines-core</artifactId> | 
|  | 45 | +            <version>${kotlin-coroutines.version}</version> | 
|  | 46 | +        </dependency> | 
|  | 47 | + | 
| 36 | 48 |         <dependency> | 
| 37 | 49 |             <groupId>javax.annotation</groupId> | 
| 38 | 50 |             <artifactId>javax.annotation-api</artifactId> | 
|  | 
| 46 | 58 |             <extension> | 
| 47 | 59 |                 <groupId>kr.motd.maven</groupId> | 
| 48 | 60 |                 <artifactId>os-maven-plugin</artifactId> | 
| 49 |  | -                <version>1.5.0.Final</version> | 
|  | 61 | +                <version>1.6.2</version> | 
| 50 | 62 |             </extension> | 
| 51 | 63 |         </extensions> | 
| 52 | 64 |         <plugins> | 
|  | 
| 58 | 70 |                     <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact> | 
| 59 | 71 |                     <pluginId>grpc-java</pluginId> | 
| 60 | 72 |                     <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact> | 
|  | 73 | +                    <protocPlugins> | 
|  | 74 | +                        <protocPlugin> | 
|  | 75 | +                            <id>grpc-kotlin</id> | 
|  | 76 | +                            <groupId>io.grpc</groupId> | 
|  | 77 | +                            <artifactId>protoc-gen-grpc-kotlin</artifactId> | 
|  | 78 | +                            <version>${grpc-kotlin.version}</version> | 
|  | 79 | +                            <classifier>jdk7</classifier> | 
|  | 80 | +                            <mainClass>io.grpc.kotlin.generator.GeneratorRunner</mainClass> | 
|  | 81 | +                        </protocPlugin> | 
|  | 82 | +                    </protocPlugins> | 
| 61 | 83 | 
 | 
| 62 | 84 |                     <useArgumentFile>true</useArgumentFile> | 
| 63 | 85 |                     <checkStaleness>true</checkStaleness> | 
| 64 | 86 |                     <staleMillis>10000</staleMillis> | 
| 65 | 87 |                 </configuration> | 
| 66 | 88 |                 <executions> | 
| 67 | 89 |                     <execution> | 
|  | 90 | +                        <id>compile</id> | 
| 68 | 91 |                         <goals> | 
| 69 | 92 |                             <goal>compile</goal> | 
| 70 | 93 |                             <goal>compile-custom</goal> | 
| 71 | 94 |                         </goals> | 
| 72 | 95 |                     </execution> | 
| 73 | 96 |                 </executions> | 
| 74 | 97 |             </plugin> | 
|  | 98 | + | 
|  | 99 | +            <plugin> | 
|  | 100 | +                <groupId>org.jetbrains.kotlin</groupId> | 
|  | 101 | +                <artifactId>kotlin-maven-plugin</artifactId> | 
|  | 102 | +                <version>${kotlin.version}</version> | 
|  | 103 | +                <executions> | 
|  | 104 | +                    <execution> | 
|  | 105 | +                        <id>compile</id> | 
|  | 106 | +                        <goals> | 
|  | 107 | +                            <goal>compile</goal> | 
|  | 108 | +                        </goals> | 
|  | 109 | +                    </execution> | 
|  | 110 | +                    <execution> | 
|  | 111 | +                        <id>test-compile</id> | 
|  | 112 | +                        <goals> | 
|  | 113 | +                            <goal>test-compile</goal> | 
|  | 114 | +                        </goals> | 
|  | 115 | +                    </execution> | 
|  | 116 | +                </executions> | 
|  | 117 | +            </plugin> | 
| 75 | 118 |         </plugins> | 
| 76 | 119 |     </build> | 
| 77 | 120 | </project> | 
0 commit comments