Skip to content

Commit e4b88c9

Browse files
authored
Update DSL - fixes #489
1 parent 5ab54ec commit e4b88c9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

compiler/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,21 @@ protobuf {
3333
artifact = "com.google.protobuf:protoc:YOUR_PROTOBUF_VERSION"
3434
}
3535
plugins {
36-
id("grpc") {
36+
create("grpc") {
3737
artifact = "io.grpc:protoc-gen-grpc-java:YOUR_GRPC_VERSION"
3838
}
39-
id("grpckt") {
39+
create("grpckt") {
4040
artifact = "io.grpc:protoc-gen-grpc-kotlin:YOUR_GRPC_KOTLIN_VERSION:jdk8@jar"
4141
}
4242
}
4343
generateProtoTasks {
4444
all().forEach {
4545
it.plugins {
46-
id("grpc")
47-
id("grpckt")
46+
create("grpc")
47+
create("grpckt")
4848
}
4949
it.builtins {
50-
id("kotlin")
50+
create("kotlin")
5151
}
5252
}
5353
}

0 commit comments

Comments
 (0)