Skip to content

Releases: SonarSource/sonar-scanner-gradle

5.1

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

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

Release 4.1 - support for Kotlin Multiplatform sources and drop Java 8 support

26 May 12:32
45ff1ee
Compare
Choose a tag to compare

Release notes - Sonar Scanner for Gradle - 4.1

New Feature

SONARGRADL-110 Set property `sonar.java.enablePreview` when Java's enablePreview feature is set

Task

SONARGRADL-113 Migrate to Kotlin DSL

Improvement

SONARGRADL-97 Move sonar-scanner-gradle from Java 8 to Java 11

SONARGRADL-112 Support Kotlin multiplatform source sets

Release 4.0 - support for Gradle 8 and bugfixes

17 Feb 10:32
Compare
Choose a tag to compare

This release introduces support for Gradle 8.