Skip to content

Commit

Permalink
Update DSL - fixes #489
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesward authored Dec 17, 2023
1 parent 5ab54ec commit e4b88c9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions compiler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,21 @@ protobuf {
artifact = "com.google.protobuf:protoc:YOUR_PROTOBUF_VERSION"
}
plugins {
id("grpc") {
create("grpc") {
artifact = "io.grpc:protoc-gen-grpc-java:YOUR_GRPC_VERSION"
}
id("grpckt") {
create("grpckt") {
artifact = "io.grpc:protoc-gen-grpc-kotlin:YOUR_GRPC_KOTLIN_VERSION:jdk8@jar"
}
}
generateProtoTasks {
all().forEach {
it.plugins {
id("grpc")
id("grpckt")
create("grpc")
create("grpckt")
}
it.builtins {
id("kotlin")
create("kotlin")
}
}
}
Expand Down

0 comments on commit e4b88c9

Please sign in to comment.