Changeset 36228 in osm for applications/editors/josm/plugins/MicrosoftStreetside/gradle/tool-config.gradle
- Timestamp:
- 2024-03-14T16:34:12+01:00 (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/MicrosoftStreetside/gradle/tool-config.gradle
r35779 r36228 1 def pmdVersion = "6.36.0"2 def spotbugsVersion = "4.3.0"3 def jacocoVersion = "0.8.7"4 def errorproneVersion = "2.7.1"5 6 // Set up ErrorProne (currently only for JDK8, until JDK9 is supported)7 dependencies.errorprone "com.google.errorprone:error_prone_core:$errorproneVersion"8 /*9 tasks.withType(JavaCompile) {10 options.compilerArgs += ['-Xep:DefaultCharset:ERROR',11 '-Xep:ClassCanBeStatic:ERROR',12 '-Xep:StringEquality:ERROR',13 '-Xep:MethodCanBeStatic:WARN',14 '-Xep:RemoveUnusedImports:WARN',15 '-Xep:PrivateConstructorForUtilityClass:WARN',16 '-Xep:WildcardImport:WARN',17 '-Xep:LambdaFunctionalInterface:WARN',18 '-Xep:ConstantField:WARN']19 }20 */21 22 // Spotbugs config23 spotbugs {24 toolVersion = spotbugsVersion25 ignoreFailures = true26 effort = "max"27 reportLevel = "low"28 //sourceSets = [sourceSets.main, sourceSets.test]29 }30 31 1 // JaCoCo config 32 2 jacoco { 33 toolVersion = jacocoVersion3 toolVersion = libs.versions.jacoco.get() 34 4 } 35 5 jacocoTestReport { 36 6 reports { 37 xml.enabled = true 38 html.destination file("$buildDir/reports/jacoco") 7 xml.required = true 39 8 } 9 dependsOn test 40 10 } 41 11 build.dependsOn jacocoTestReport … … 43 13 // PMD config 44 14 pmd { 45 toolVersion pmdVersion15 toolVersion libs.versions.pmd.get() 46 16 ignoreFailures true 47 17 ruleSetConfig = resources.text.fromFile('config/pmd/ruleset.xml') … … 50 20 51 21 // SonarQube config 52 sonar qube{22 sonar { 53 23 properties { 54 24 property 'sonar.forceAuthentication', 'true'
Note:
See TracChangeset
for help on using the changeset viewer.