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 5
5
plugins {
6
6
kotlin(" jvm" ) version " 2.1.10"
7
7
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 "
9
9
id(" com.google.protobuf" ) version " 0.9.4"
10
10
}
11
11
@@ -22,42 +22,13 @@ kotlin {
22
22
}
23
23
24
24
dependencies {
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 " )
26
26
implementation(" ch.qos.logback:logback-classic:1.5.16" )
27
27
implementation(" io.grpc:grpc-netty:1.69.0" )
28
28
}
29
29
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
62
33
}
63
34
}
You can’t perform that action at this time.
0 commit comments