From 19942ba039bcce58948ff6a0800f5b3937645eb2 Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Fri, 30 Aug 2019 08:13:18 -0700 Subject: [PATCH] README.md: Swap to Gradle Plugins DSL The Plugins DSL has matured and is now preferred. It's also more terse, which is nice. --- README.md | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index b400f3af458..d995ddd617e 100644 --- a/README.md +++ b/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 [protobuf-gradle-plugin][]: ```gradle -apply plugin: 'com.google.protobuf' - -buildscript { - repositories { - mavenCentral() - } - dependencies { - classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.8' - } +plugins { + id 'com.google.protobuf' version '0.8.8' } protobuf {