Travis CI: Dynamically add SonarQube plugin to build.gradle

This commit is contained in:
str4d
2017-12-07 19:31:30 +00:00
parent a02cccaa50
commit 7f673bb254
2 changed files with 10 additions and 8 deletions

View File

@@ -1,11 +1,3 @@
// SonarQube is currently only supported on Java 8
// https://docs.sonarqube.org/display/SONAR/Requirements#Requirements-SupportedPlatforms
if (JavaVersion.current() == JavaVersion.VERSION_1_8) {
plugins {
id "org.sonarqube" version "2.6.1"
}
}
// Exclude apps/ dir itself, but include its subdirs
def javaProjects = subprojects - project(':apps')