/* Ċ Ġ* ĠCopyright Ġ( c ) Ġ 2 0 2 1 ĠScala Quest ĠTeam . Ċ Ġ* Ċ Ġ* ĠThis Ġfile Ġis Ġpart Ġof ĠScala Quest , Ġand Ġis Ġdistributed Ġunder Ġthe Ġterms Ġof Ġthe ĠMIT ĠLicense Ġas Ċ Ġ* Ġdescribed Ġin Ġthe Ġfile ĠLICENSE Ġin Ġthe ĠScala Quest Ġdistribution 's Ġtop Ġdirectory . Ċ Ġ*/ Ċ Ċ plugins Ġ{ ĊĠĠĠ Ġ// ĠRoot - level Ġplugin Ġis Ġnecessary Ġto Ġrun Ġaggregate S coverage . ĊĠĠĠ Ġid (" org . s coverage ") ĊĊĠĠĠ Ġ// ĠSon ar Cloud Ġanalysis Ġconfiguration . ĊĠĠĠ Ġid (" org . sonar q ube ") Ċ } ĊĊ Ċ sonar q ube Ġ{ ĊĠĠĠ Ġproperties Ġ{ ĊĠĠĠĠĠĠĠ Ġproperty (" sonar . project Key ", Ġ" scala quest _ P PS - 1 9 - Scala Quest ") ĊĠĠĠĠĠĠĠ Ġproperty (" sonar . organization ", Ġ" scala quest ") ĊĠĠĠĠĠĠĠ Ġproperty (" sonar . host . url ", Ġ" https :// sonar cloud . io ") ĊĠĠĠĠĠĠĠ Ġproperty (" sonar . scala . version ", Ġ" 2 . 1 3 ") ĊĊĠĠĠĠĠĠĠ Ġproperty (" sonar . sources ", Ġ" src / main / scala ") ĊĠĠĠĠĠĠĠ Ġproperty (" sonar . tests ", Ġ" src / test / scala ") ĊĠĠĠĠĠĠĠ Ġproperty (" sonar . junit . report Paths ", Ġ" build / test - results / test ") ĊĠĠĠĠĠĠĠ Ġproperty (" sonar . scala . coverage . report Paths ", Ġ" build / reports / s coverage / s coverage . xml ") ĊĠĠĠ Ġ} Ċ } Ċ Ċ // ĠConfig ures Ġson ar q ube Ġto Ġbe Ġexecuted Ġafter Ġtest Ġand Ġcoverage Ġreports Ġgeneration . Ċ project . tasks [" sonar q ube "] ?. depends On (" test ", Ġ" report S coverage ") Ċ Ċ build script Ġ{ Ġrepositories Ġ{ Ġmaven Central () Ġ}} Ċ Ċ repositories Ġ{ ĊĠĠĠ Ġj center () Ċ } Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġ// ĠUsed Ġby ĠS coverage Ġto Ġdetect ĠScala ĠStandard ĠLibrary Ġversion , Ġbeing Ġroot - level . ĊĠĠĠ Ġimplementation (" org . scala - lang : scala - library :_ ") Ċ }