提交 bb702ee9 编写于 作者: B Brian Clozel

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.
上级 cb44f274
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册