Skip to content

Commit

Permalink
use sonar plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
leibi-actico committed Dec 8, 2023
1 parent f99f128 commit 9e386f4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
This is an initial Readme
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=leibi-POCS_multitenancy-lib&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=leibi-POCS_multitenancy-lib)

9 changes: 9 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ plugins {
id 'java-library'
id 'maven-publish'
id 'jacoco'
id 'org.sonarqube' version '4.4.1.3373'
}

group = 'net.leibi'
Expand Down Expand Up @@ -60,6 +61,14 @@ jacocoTestReport {
dependsOn test // tests are required to run before generating the report
}

sonar {
properties {
property "sonar.projectKey", "leibi-POCS_multitenancy-lib"
property("sonar.organization", "leibi-pocs")
property "sonar.host.url", "https://sonarcloud.io"
}
}



reckonTagCreate.dependsOn check, test

0 comments on commit 9e386f4

Please sign in to comment.