You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ce...@apache.org on 2017/03/13 13:20:51 UTC
svn commit: r1786681 - /poi/trunk/build.gradle
Author: centic
Date: Mon Mar 13 13:20:51 2017
New Revision: 1786681
URL: http://svn.apache.org/viewvc?rev=1786681&view=rev
Log:
Gradle Build: Try with setting baseDir for Sonar-runs, but likely still does not work
Update wrapper to 3.4.1, although we do not store it yet anyway
Modified:
poi/trunk/build.gradle
Modified: poi/trunk/build.gradle
URL: http://svn.apache.org/viewvc/poi/trunk/build.gradle?rev=1786681&r1=1786680&r2=1786681&view=diff
==============================================================================
--- poi/trunk/build.gradle (original)
+++ poi/trunk/build.gradle Mon Mar 13 13:20:51 2017
@@ -45,7 +45,7 @@ allprojects {
apply plugin: 'eclipse'
task wrapper(type: Wrapper) {
- gradleVersion = '2.14.1'
+ gradleVersion = '3.4.1'
}
task adjustWrapperPropertiesFile {
@@ -129,6 +129,16 @@ subprojects {
// ensure the build-dir exists
projectDir.mkdirs()
+
+ if (project.hasProperty('enableSonar')) {
+ sonarqube {
+ properties {
+ // as we currently use build/<module>/ as project-basedir, we need to tell Sonar to use
+ // the root-folder as "basedir" for the projects
+ property "sonar.projectBaseDir", "$projectDir/../.."
+ }
+ }
+ }
}
project('main') {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org