mirror of https://github.com/grpc/grpc-java.git
README.md: Swap to Gradle Plugins DSL
The Plugins DSL has matured and is now preferred. It's also more terse, which is nice.
This commit is contained in:
parent
efc14bd299
commit
19942ba039
11
README.md
11
README.md
|
@ -124,15 +124,8 @@ For protobuf-based codegen integrated with the Maven build system, you can use
|
||||||
For protobuf-based codegen integrated with the Gradle build system, you can use
|
For protobuf-based codegen integrated with the Gradle build system, you can use
|
||||||
[protobuf-gradle-plugin][]:
|
[protobuf-gradle-plugin][]:
|
||||||
```gradle
|
```gradle
|
||||||
apply plugin: 'com.google.protobuf'
|
plugins {
|
||||||
|
id 'com.google.protobuf' version '0.8.8'
|
||||||
buildscript {
|
|
||||||
repositories {
|
|
||||||
mavenCentral()
|
|
||||||
}
|
|
||||||
dependencies {
|
|
||||||
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.8'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protobuf {
|
protobuf {
|
||||||
|
|
Loading…
Reference in New Issue