Skip to content

Commit

Permalink
remove sonarqube
Browse files Browse the repository at this point in the history
  • Loading branch information
FKD13 committed Mar 25, 2024
1 parent 8ba54fd commit d105b63
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 45 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ jobs:
- name: Build
run: ./gradlew build

- name: Build
- name: Test
run: ./gradlew test
44 changes: 0 additions & 44 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import org.flywaydb.gradle.task.FlywayMigrateTask
plugins {
id 'java'
id 'application'
id 'jacoco'
id 'org.sonarqube' version "3.0"
id 'idea'
id 'org.flywaydb.flyway' version "8.0.0"
}
Expand Down Expand Up @@ -88,42 +86,7 @@ test {
jacocoTestReport
}
}
jacoco {
toolVersion = "0.8.7"
reportsDirectory = layout.buildDirectory.dir('coverage').get()
}
jacocoTestReport {
dependsOn {
test
}
reports {
xml.required = true
}
afterEvaluate {
classDirectories.setFrom files(classDirectories.files.collect {
fileTree(dir: it, exclude: [
'**/database/models/**'
])
})
}

}
jacocoTestCoverageVerification {
afterEvaluate {
classDirectories.setFrom files(classDirectories.files.collect {
fileTree(dir: it, exclude: [
'**/database/models/**'
])
})
}
violationRules {
rule {
limit {
minimum = 0.7
}
}
}
}
def prodProps = new Properties()
file("$rootProject.projectDir/src/main/resources/telraam/prodConfig.properties").withInputStream {
prodProps.load(it)
Expand All @@ -150,10 +113,3 @@ task migrateTestingDatabase(type: FlywayMigrateTask) {
url = testProps.getProperty("DB_URL")
baselineOnMigrate = true
}
sonarqube {
properties {
property "sonar.projectKey", "12urenloop_Telraam"
property "sonar.organization", "12urenloop"
property "sonar.host.url", "https://sonarcloud.io"
}
}

0 comments on commit d105b63

Please sign in to comment.