From bb702ee9c00802760453b9728f5d3e9a8dfe15d7 Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Wed, 16 Nov 2016 14:06:59 +0100 Subject: [PATCH] Gradle plugins: update sonarqube and remove protobuf Since https://jira.sonarsource.com/browse/SONARGRADL-30, we can now safely update to sonarqube plugin v2.2.1. The protobuf gradle plugin is now deprecated - instead of configuring the new plugin supported by Google, this commits drops that part of the gradle build since that proto->java conversion is rarely needed and can be manually run by any member of the team. --- build.gradle | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/build.gradle b/build.gradle index 639df91910..5d8dd0db0c 100644 --- a/build.gradle +++ b/build.gradle @@ -4,14 +4,13 @@ buildscript { } dependencies { classpath("org.springframework.build.gradle:propdeps-plugin:0.0.7") - classpath("org.asciidoctor:asciidoctor-gradle-plugin:1.5.2") + classpath("org.asciidoctor:asciidoctor-gradle-plugin:1.5.3") classpath("io.spring.gradle:docbook-reference-plugin:0.3.1") - classpath("ws.antonov.gradle.plugins:gradle-plugin-protobuf:0.9.1") } } plugins { - id "org.sonarqube" version "2.1" + id "org.sonarqube" version "2.2.1" } ext { @@ -706,21 +705,6 @@ project("spring-web") { description = "Spring Web" apply plugin: "groovy" - // Re-generate Protobuf classes from *.proto files and move them in test sources - if (project.hasProperty('genProtobuf')) { - apply plugin: 'protobuf' - - task updateGenProtobuf(type:Copy, dependsOn: ":spring-web:generateTestProto") { - from "${project.buildDir}/generated-sources/test/" - into "${projectDir}/src/test/java" - doLast { - project.delete "${project.buildDir}/generated-sources/test" - } - } - - tasks.getByPath("compileTestJava").dependsOn "updateGenProtobuf" - } - dependencies { compile(project(":spring-aop")) // for JaxWsPortProxyFactoryBean compile(project(":spring-beans")) // for MultipartFilter -- GitLab