Skip to content

Releases: SonarSource/sonar-scanner-gradle

6.0.1

27 Nov 13:24
eb8f790
Compare
Choose a tag to compare

Release notes - Sonar Scanner for Gradle - 6.0.1

Bug

SCANGRADLE-189 The SonarScanner for Gradle reports a failed analysis as a success

6.0

19 Nov 10:03
7f3f8f0
Compare
Choose a tag to compare
6.0

Release notes - Sonar Scanner for Gradle - 6.0

Documentation

SCANGRADLE-167 Document env variable `SONAR_SCANNER_JAVA_OPTS` and property `sonar.scanner.javaOpts` as options to tweak analysis runtime

SCANGRADLE-169 Update JRE auto-provisioning section to add the SonarScanner for Maven

Improvement

SCANGRADLE-158 Lazily register sonar and sonarqube tasks

SCANGRADLE-170 Update scanner library to support the new bootstrapper

SCANGRADLE-172 The SonarScanner for Gradle provides a sane default value for `sonar.java.jdkHome`

5.1

04 Jul 14:09
63c09aa
Compare
Choose a tag to compare
5.1

Release notes - Sonar Scanner for Gradle - 5.1

Bug

SCANGRADLE-149 Exclude Kotlin Build Scripts from subprojects of a skipped project

New Feature

SCANGRADLE-143 The scanner for Gradle collects files outside of conventional sonar.sources

SCANGRADLE-145 The scan all behavior excludes external report files

SCANGRADLE-148 Gradle scanner scans some files in hidden folders

Sub-task

SCANGRADLE-144 Disable the scan all behavior when sonar.sources or sonar.tests are overridden

Improvement

SCANGRADLE-152 Additional files added by "scanAll" should be categorized as TEST when the path looks like a test

5.0

26 Mar 09:56
3ddd27f
Compare
Choose a tag to compare
5.0

Release notes - Sonar Scanner for Gradle - 5.0

Bug

SONARGRADL-133 Exception when adding Kotlin Gradle scripts if custom `sonar.sources` value is defined

SONARGRADL-134 Read `sonar.gradle.skipCompile` from Sonar properties, not from the system properties

SONARGRADL-137 Gradle scanner doesn't work with configuration cache

SONARGRADL-139 ClassCastException when Java Compiler Args contain non-String values

Task

SONARGRADL-136 Update license headers

Improvement

SONARGRADL-107 Support Android Gradle Plugin 8.x

SONARGRADL-124 Remove implicit dependency of the sonar task on the compile tasks

4.4.1

03 Oct 14:29
Compare
Choose a tag to compare

Release notes - Sonar Scanner for Gradle - 4.4.1

Improvement

SONARGRADL-132 Rename sonar.skipCompile to sonar.gradle.skipCompile

4.4.0

27 Sep 15:03
b454493
Compare
Choose a tag to compare

Release notes - Sonar Scanner for Gradle - 4.4

Task

SONARGRADL-127 Bump Gradle version to the latest 7.x

Improvement

SONARGRADL-111 Make sure that source paths are not nested

SONARGRADL-128 Put all Gradle Build scripts in root "sonar.sources" only

SONARGRADL-130 Add a property "sonar.skipCompile" to enable/disable "dependsOn" on all the compile tasks

4.3.1 - .build.kts indexing bugfix

01 Sep 10:45
e4f1a0e
Compare
Choose a tag to compare

Release notes - Sonar Scanner for Gradle - 4.3.1

Bug

SONARGRADL-126 "build.gradle.kts" files of subprojects are indexed multiple times

4.3.0

17 Jul 15:39
2a927d3
Compare
Choose a tag to compare

Release notes - Sonar Scanner for Gradle - 4.3

Bug

SONARGRADL-122 UnsupportedOperationException when multiplatform has android and non-android sources in one module

New Feature

SONARGRADL-120 Add .gradle.kts files to the sonar.sources

SONARGRADL-121 Add property sonar.gradle.project.root

4.2.1 - bugfix NoClassDefFoundError

12 Jun 09:24
387a90c
Compare
Choose a tag to compare

Release notes - Sonar Scanner for Gradle - 4.2.1

Bug

SONARGRADL-116 Gradle scanner fails with ClassNotFoundException

SONARGRADL-117 NoClassDefFoundError when kotlin plugin is in a different module than sonar task in Groovy DSL

4.2.0.3129

31 May 15:20
8d68849
Compare
Choose a tag to compare

Release notes - Sonar Scanner for Gradle - 4.2

Fixes:

  • fixed ClassCastException for KotlinJvmProjectExtension
  • fixed discovery of Spock tests

Improvements:

  • supported scanning for and Kotlin JVM projects