What versions of gradle, sonark plugins and jacoco compatible

I am creating a new multi-module gradle project to be created in jenkins and try to analyze its sonarqua, but I hit several incompatibility issues that I could not solve.

I use

If I use gradle 3, I get this error: org.gradle.internal.jvm.Jvm.getRuntimeJar () Ljava / io / File;

If I use gradle 2.14, I get this error: Called: java.io.IOException: Incompatible version 1007 This error in the past was caused by incompatibility between jacoco and sonarqube plugins, see JaCoCo SonarQube incompatible version 1007 .

What versions should I use?

+5
source share
2 answers

The FYI release of SonarQube Scanner for Gradle 2.1 should happen very quickly, and this version includes support for Gradle 3.X. See https://jira.sonarsource.com/browse/SONARGRADL-16 , which has already been fixed.

+2
source

You're not alone. I get the same problems. This works with gradle 2.12.

plugins { id 'jacoco' id 'java' id "org.sonarqube" version "2.0.1" } 
0
source

All Articles