Releases: SonarSource/sonar-scanner-gradle
7.2.0.6526
Release notes - Sonar Scanner for Gradle - 7.2
Task
SCANGRADLE-245 Remove configuration cache incompatibility flag
SCANGRADLE-321 Prevent SonarPropertyComputer accessing File system at configuration time
SCANGRADLE-322 SonarPropertyComputer should only access environment variables it uses
SCANGRADLE-324 Centralize Sonar property names in ScanPropertyNames
SCANGRADLE-330 Run integration tests with configuration cache and check no problem found
SCANGRADLE-331 Add unit tests to check configuration cache works as expected for our tasks
Improvement
SCANGRADLE-263 Declare `build/sonar/` as an output directory
SCANGRADLE-314 compute compileClasspath and testClasspath using a provider
7.1.0.6387
Release notes - Sonar Scanner for Gradle - 7.1
Bug
SCANGRADLE-292 Execution failed on Gradle 9.1.0 for android project with parallel execution
SCANGRADLE-293 The sonarResolver task should not create implicit dependency links with other tasks
SCANGRADLE-295 The scanner should not fail on ./gradlew clean sonar
SCANGRADLE-298 Prevent Windows QA task from running on release
Task
SCANGRADLE-273 Project resolution should not include class paths when a project does not have any
SCANGRADLE-290 Prepare next development iteration 7.1-SNASPHOT
SCANGRADLE-299 Migrate QA from Cirrus to GitHub actions
SCANGRADLE-300 Update sha256 of sonarqube-gradle-plugin-7.0.1.6134.jar
SCANGRADLE-301 Add Gradle 9.2 to the ITs
SCANGRADLE-302 Add Android Gradle Plugin 8.13 to the ITs
SCANGRADLE-303 Migrate build from Cirrus to GitHub actions
SCANGRADLE-304 Fold all contributing documentation into the README
SCANGRADLE-309 Migrate Windows build from Cirrus to GitHub action
SCANGRADLE-312 Document how to add a project to the end-to-end tests
SCANGRADLE-313 Fold all contributing documentation into the README
SCANGRADLE-316 Replace Gradle 9.2 with 9.2.1 in ITs
Improvement
SCANGRADLE-317 Compute all ProjectProperties in SonarResolverTask configuration instead of SonarPropertyComputer
7.0.1.6134
Release notes - Sonar Scanner for Gradle - 7.0.1
Task
SCANGRADLE-291 Stop publishing artifacts from Windows build
SCANGRADLE-296 Prepare next development iteration
7.0.0.6105
Release notes - Sonar Scanner for Gradle - 7.0
Announcement at community.sonarsource.com
Bug
SCANGRADLE-246 "sonar.java.test.libraries" classpath has a random order
SCANGRADLE-247 Classpath libraries should not be resolved across projects at configuration time
Task
SCANGRADLE-242 Update README.md with copy from Product Marketing
SCANGRADLE-243 Add Gradle 9.0.0 to ITs
SCANGRADLE-251 Create GitHub workflow to bump development iteration
SCANGRADLE-253 Update verification metadata with scanner 6.3.1
SCANGRADLE-254 Update the wrapper to Gradle 8.14.3
SCANGRADLE-255 Skip metadata verification when downloading sources and javadoc artifacts in the IDE
SCANGRADLE-258 Remove .gitattributes that introduce more problems than solution
SCANGRADLE-259 Exclude tests and integration tests projects from SCA analysis
SCANGRADLE-262 Fix FunctionalTests with Windows paths
SCANGRADLE-264 Add Gradle sources to verification metadata
SCANGRADLE-266 Serialize project name as part of project solution
SCANGRADLE-267 Update releasability status to v3
SCANGRADLE-269 Fix quality flaws in PrepareNextIteration GHA
SCANGRADLE-270 Prepare next development iteration 7.0-SNASPSHOT
SCANGRADLE-271 Compute correct property key for libraries properties
SCANGRADLE-276 Upgrade commons io to version 2.20.0
SCANGRADLE-277 Recover classpaths through source sets
SCANGRADLE-278 Delete mend_scan_task
SCANGRADLE-279 Resolve classpath at execution time
SCANGRADLE-281 Add task description and group to sonar resolver task
SCANGRADLE-283 Add protection to avoid accessing getProject when config cache is enabled
SCANGRADLE-284 Move resolver task implementations to base package
SCANGRADLE-287 Add Gradle 9.1 to the ITs
SCANGRADLE-288 Explicitly make artifactory task depend on signing task
SCANGRADLE-289 Upgrade artifactory plugin to version 5.2.5
6.3.1.5724
Release notes - Sonar Scanner for Gradle - 6.3.1
Bug
SCANGRADLE-249 Release version 6.3.0.5676 fails with ClassCastException: String cannot be cast to class Collection
SCANGRADLE-252 ".github" folder should not be added to "sonar.sources" if the user explicitly overrides this property
Task
SCANGRADLE-250 Prepare next development iteration 6.3.1
6.3.0.5676
Release notes - Sonar Scanner for Gradle - 6.3
New Feature
SCANGRADLE-241 Include github actions folder in the scan
Task
SCANGRADLE-228 Prepare for next development iteration 6.3-SNAPSHOT
SCANGRADLE-230 document the process to validate the gradle/verification-metadata.xml file
SCANGRADLE-236 Update releasability-status action to v2
SCANGRADLE-238 Migrate Gradle wrapper to version 7.6.6
6.2.0.5505
Release notes - Sonar Scanner for Gradle - 6.2
Task
SCANGRADLE-57 Make the release process "build once" compatible
SCANGRADLE-208 Create the verification-metadata.xml file
SCANGRADLE-212 Prepare next development iteration 6.2
SCANGRADLE-215 Update Slack notification in .github/workflows/slack_notify.yml
SCANGRADLE-216 Bump orchestrator to version 5.5 or greater
SCANGRADLE-227 Fix cirrus-ci depends_on error
Improvement
SCANGRADLE-135 Stop using deprecated Gradle APIs (prepare for Gradle 9)
SCANGRADLE-155 Log Sonar plugin version and execution context information
SCANGRADLE-174 Reliably detect plugin version
Sub-task
SCANGRADLE-221 Move Gradle "repositories" configuration into settings.gradle.kts
SCANGRADLE-222 Update "com.gradle.plugin-publish" from 0.21.0 to 1.3.1 to ensure compatibility with https://plugins.gradle.org
SCANGRADLE-223 Add a custom gradle task "downloadMavenArtifactsAndPublishToGradlePluginPortal" to not rebuild artifacts before publishing them
SCANGRADLE-224 Add a cirrus-ci "simulate_and_validate_release_to_plugin_portal_task" to help releasability validation and investigation
6.1
Release notes - Sonar Scanner for Gradle - 6.1
New Feature
SCANGRADLE-200 Add support for SonarQube Cloud regions
Task
SCANGRADLE-192 Enable external contributor to build sonar-scanner-gradle plugin
SCANGRADLE-194 Update headers for 2025
SCANGRADLE-196 Update CODEOWNERS after reorg
SCANGRADLE-197 Fix quality flaws: remove unnecessary public modifiers
SCANGRADLE-198 Upgrade scanner to version 6.0.1.5171
SCANGRADLE-199 The Gradle scanner should utilize a recent version of itself for self-analysis
SCANGRADLE-201 Upgrade sonar-scanner-java-library to latest version
SCANGRADLE-204 Add Gradle 8.13 to ITs matrix
Improvement
SCANGRADLE-209 Log the SonarQube Cloud Region
6.0.1
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
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`