From d105b63cbed7d65e5978c7bef64f228d2670937a Mon Sep 17 00:00:00 2001 From: FKD13 <44001949+FKD13@users.noreply.github.com> Date: Mon, 25 Mar 2024 21:29:48 +0100 Subject: [PATCH] remove sonarqube --- .github/workflows/gradle.yml | 2 +- build.gradle | 44 ------------------------------------ 2 files changed, 1 insertion(+), 45 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index c9a2b1b..d4fe08a 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -35,5 +35,5 @@ jobs: - name: Build run: ./gradlew build - - name: Build + - name: Test run: ./gradlew test diff --git a/build.gradle b/build.gradle index 5269053..dd78f2d 100644 --- a/build.gradle +++ b/build.gradle @@ -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" } @@ -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) @@ -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" - } -}