diff --git a/templates/gradle.properties b/templates/gradle.properties index 5dd1b59553c..fce1b51f768 100644 --- a/templates/gradle.properties +++ b/templates/gradle.properties @@ -7,6 +7,11 @@ org.gradle.parallel=false org.gradle.configureondemand=false org.gradle.jvmargs=-Xmx1024m +# from sonar-5 onwards sonar does not compile any more. instead of "gradle sonar" one needs to call +# "gradle assemble sonar". +# see https://community.sonarsource.com/t/sonarscanner-for-gradle-you-can-now-decide-when-to-compile +systemProp.sonar.gradle.skipCompile=true + # This prevents the generic Maven publish from publishing sha files - https://github.com/gradle/gradle/issues/11308 # systemProp.org.gradle.internal.publish.checksums.insecure=true # To pass via CLI use: -Dorg.gradle.internal.publish.checksums.insecure=true