Skip to content

Commit 1649725

Browse files
committed
Remove PMD, Checkstyle and Spotless
Signed-off-by: Wei-Qiang Zhou <wei-qiang.zhou@alliander.com>
1 parent 7f20ac4 commit 1649725

11 files changed

Lines changed: 0 additions & 883 deletions

File tree

‎build.gradle‎

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import javax.inject.Inject
77
plugins {
88
id 'java'
99
id 'maven-publish'
10-
id("com.diffplug.spotless") version "8.9.0"
1110
}
1211

1312
interface InjectedExecOps {
@@ -22,49 +21,6 @@ repositories {
2221
mavenCentral()
2322
}
2423

25-
apply plugin: 'checkstyle'
26-
apply plugin: 'pmd'
27-
28-
checkstyle {
29-
toolVersion = "13.5.0"
30-
sourceSets = [project.sourceSets.main]
31-
}
32-
33-
checkstyleMain {
34-
configFile = "${rootDir}/config/checkstyle/checkstyle_main.xml" as File
35-
}
36-
37-
checkstyleTest {
38-
configFile = "${rootDir}/config/checkstyle/checkstyle_test.xml" as File
39-
}
40-
41-
pmd {
42-
consoleOutput = true
43-
toolVersion = '7.26.0'
44-
ruleSetFiles = files("${rootDir}/config/pmd/ruleset.xml")
45-
}
46-
47-
pmdTest {
48-
enabled = false
49-
}
50-
51-
tasks.named("pmdMain", Pmd) {
52-
source = fileTree("src/main/java")
53-
}
54-
55-
spotless{
56-
java {
57-
targetExclude("build/**")
58-
toggleOffOn()
59-
eclipse().configFile('config/spotless/code_style.xml')
60-
61-
licenseHeader """// SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
62-
// SPDX-License-Identifier: MPL-2.0
63-
64-
"""
65-
}
66-
}
67-
6824
def pgmVersion = "1.13.109"
6925

7026
def pgmDir = layout.buildDirectory.dir("pgm").get()

‎config/checkstyle/checkstyle_main.xml‎

Lines changed: 0 additions & 198 deletions
This file was deleted.

0 commit comments

Comments
 (0)