From e089b69d28f36a69e5fc2e812f7ed1097dad9acf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Tue, 25 Feb 2020 01:40:53 +0100 Subject: [PATCH 3/3] disable codacy --- build.gradle | 10 ---------- gradle/codacy_coverage.gradle | 23 ----------------------- 2 files changed, 33 deletions(-) delete mode 100644 gradle/codacy_coverage.gradle diff --git a/build.gradle b/build.gradle index 54ca85e..86b5507 100644 --- a/build.gradle +++ b/build.gradle @@ -1,14 +1,12 @@ plugins { id 'application' id 'com.github.johnrengelman.shadow' version '5.0.0' - id "com.diffplug.gradle.spotless" version "3.13.0" id "org.sonarqube" version "2.5" } apply plugin: 'java' apply from: "gradle/git.gradle" apply plugin: 'checkstyle' -apply plugin: "com.diffplug.gradle.spotless" apply plugin: 'jacoco' sourceCompatibility = '1.8' @@ -79,12 +77,6 @@ shadowJar { baseName = project.name } -#spotless { -# java { -# eclipse().configFile 'config/format/eclipseformat.xml' -# } -#t} - jacocoTestReport { reports { xml.enabled = true @@ -92,5 +84,3 @@ jacocoTestReport { } } check.dependsOn jacocoTestReport - -apply from: "gradle/codacy_coverage.gradle" diff --git a/gradle/codacy_coverage.gradle b/gradle/codacy_coverage.gradle deleted file mode 100644 index 685594f..0000000 --- a/gradle/codacy_coverage.gradle +++ /dev/null @@ -1,23 +0,0 @@ -configurations { codacy } - -repositories { - maven { url "https://jitpack.io" } - maven { url "http://dl.bintray.com/typesafe/maven-releases" } -} - -dependencies { - codacy 'com.github.codacy:codacy-coverage-reporter:-SNAPSHOT' -} - -// Coverage can be send with the following command: gradle -PprojectToken="TOKEN" sendCoverageToCodacy -task sendCoverageToCodacy(type: JavaExec, dependsOn: jacocoTestReport) { - main = "com.codacy.CodacyCoverageReporter" - classpath = configurations.codacy - args = [ - "report", - "-l", - "Java", - "-r", - "${buildDir}/reports/jacoco/test/jacocoTestReport.xml" - ] -} -- 2.19.3