Skip to content

Commit 98396b2

Browse files
jgrnrtdsyer
authored andcommitted
remove kotlinStubVersion in kotlin sample
Signed-off-by: Jeremy Grunert <[email protected]>
1 parent 66a651e commit 98396b2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

samples/grpc-server-kotlin/build.gradle

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,12 @@ dependencyManagement {
2929
}
3030
}
3131

32-
def kotlinStubVersion = "1.5.0"
33-
3432
dependencies {
3533

3634
implementation 'org.springframework.grpc:spring-grpc-spring-boot-starter'
3735
implementation 'org.springframework.boot:spring-boot-starter-actuator'
3836
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core'
39-
implementation "io.grpc:grpc-kotlin-stub:${kotlinStubVersion}"
37+
implementation("io.grpc:grpc-kotlin-stub")
4038
implementation("io.micrometer:context-propagation")
4139

4240
testImplementation 'org.springframework.grpc:spring-grpc-test'
@@ -60,7 +58,7 @@ protobuf {
6058
artifact = "io.grpc:protoc-gen-grpc-java:${dependencyManagement.importedProperties['grpc.version']}"
6159
}
6260
grpckt {
63-
artifact = "io.grpc:protoc-gen-grpc-kotlin:${kotlinStubVersion}:jdk8@jar"
61+
artifact = "io.grpc:protoc-gen-grpc-kotlin:${dependencyManagement.importedProperties['grpc-kotlin.version']}:jdk8@jar"
6462
}
6563
}
6664
generateProtoTasks {

0 commit comments

Comments
 (0)