File tree Expand file tree Collapse file tree 1 file changed +5
-34
lines changed Expand file tree Collapse file tree 1 file changed +5
-34
lines changed Original file line number Diff line number Diff line change 55plugins {
66 kotlin(" jvm" ) version " 2.1.10"
77 kotlin(" plugin.serialization" ) version " 2.1.10"
8- id(" org.jetbrains.kotlinx.rpc.plugin" ) version " 0.5.0 -grpc-6 "
8+ id(" org.jetbrains.kotlinx.rpc.plugin" ) version " 0.5.1 -grpc-16 "
99 id(" com.google.protobuf" ) version " 0.9.4"
1010}
1111
@@ -22,42 +22,13 @@ kotlin {
2222}
2323
2424dependencies {
25- implementation(" org.jetbrains.kotlinx:kotlinx-rpc-grpc-core:0.5.0 -grpc-6 " )
25+ implementation(" org.jetbrains.kotlinx:kotlinx-rpc-grpc-core:0.5.1 -grpc-16 " )
2626 implementation(" ch.qos.logback:logback-classic:1.5.16" )
2727 implementation(" io.grpc:grpc-netty:1.69.0" )
2828}
2929
30- val buildDirPath: String = project.layout.buildDirectory.get().asFile.absolutePath
31-
32- protobuf {
33- protoc {
34- artifact = " com.google.protobuf:protoc:4.29.3"
35- }
36-
37- plugins {
38- create(" kotlinx-rpc" ) {
39- artifact = " org.jetbrains.kotlinx:kotlinx-rpc-protobuf-plugin:0.5.0-grpc-6:all@jar"
40- }
41-
42- create(" grpc" ) {
43- artifact = " io.grpc:protoc-gen-grpc-java:1.69.0"
44- }
45-
46- create(" grpckt" ) {
47- artifact = " io.grpc:protoc-gen-grpc-kotlin:1.4.1:jdk8@jar"
48- }
49- }
50-
51- generateProtoTasks {
52- all().all {
53- plugins {
54- create(" kotlinx-rpc" ) {
55- option(" debugOutput=$buildDirPath /protobuf-plugin.log" )
56- option(" messageMode=interface" )
57- }
58- create(" grpc" )
59- create(" grpckt" )
60- }
61- }
30+ rpc {
31+ grpc {
32+ enabled = true
6233 }
6334}
You can’t perform that action at this time.
0 commit comments