This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
Rework project to work with dotnet only, use atlas-dotnet as backend #51
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Big breaking update, most important changes include:
Removed support for
mono
as SonarScanner runnerIncluded support for
dotnet
as SonarScanner runnerNo more standalone windows SonarScanner. Must also use
dotnet
as a runnerdotnet to be used as SonarScanner runner can be set through the
sonarScanner.dotnetExecutable
propertyInstalls by default sonarscanner-netcoreapp2.0, latest 5.x version (net45 compatible)
Removed support for builds with msBuild, now only builds with dotnet. Defaults to same dotnet executable as the one used to run SonarScanner.
Removed
solutionMSBuild
tasksonarScannerEnd
no longer depends onsonarScannerBegin
Updated plugin structure and default to be more similar to modern atlas plugins
Added environment/properties input through
DotnetSonarqubePluginConventions
classExecution doesn't depend anymore on an externally exposed SonarScanner object
All SonarScanner and Build related tasks now extends DotnetTask and with it the gradle-commons framework for executables. DOES NOT applies
net.wooga.dotnet
, uses it as a library.Changes
Uses
dotnet
instead ofmono
as SonarScanner runnerdotnet
as a runner now applies to Windows runs as wellsonarScanner.dotnetExecutable
property to set dotnet runnernow by default installs .Net Core 2.0 variant of SonarScanner (5.x), required by
dotnet
runnerSupport for builds with MSBuild.exe
solutionMSBuild
tasksonarScannerEnd
no longer depends onsonarScannerBegin
msBuildExecutable
,dotnetExecutable
andbuildTool
properties fromBuildSolution
andsonarScanner
extension where applicable.Updated plugin structure and default to be more similar to modern atlas plugins
Several environment/properties input through
DotnetSonarqubePluginConventions
classsonarScanner.sonarScanner
propertySonarScannerBegin
,SonarScannerEnd
andBuildSolution
now are based onDotnetTask
fromnet.wooga.gradle:dotnet
....