@@ -63,7 +63,7 @@ tasks.register<Delete>("deletePmdCatalogerDist") {
6363
6464// ======== DEFINE/UPDATE PMD7 DIST RELATED TASKS =====================================================================
6565val pmd7DistDir = " $distDir /pmd7"
66- val pmd7Version = " 7.0 .0"
66+ val pmd7Version = " 7.1 .0"
6767val pmd7File = " pmd-dist-$pmd7Version -bin.zip"
6868
6969tasks.register< de.undercouch.gradle.tasks.download.Download > (" downloadPmd7" ) {
@@ -76,22 +76,22 @@ tasks.register<Copy>("installPmd7") {
7676 dependsOn(" downloadPmd7" )
7777 from(zipTree(" $buildDir /$pmd7File " ))
7878
79- // I went to https://github.com/pmd/pmd/tree/pmd_releases/7.0 .0 and for each of the languages that we support
79+ // I went to https://github.com/pmd/pmd/tree/pmd_releases/7.1 .0 and for each of the languages that we support
8080 // (apex, java, visualforce, xml), I took a look at its direct and indirect dependencies at
8181 // https://central.sonatype.com/artifact/net.sourceforge.pmd/pmd-apex/dependencies
82- // by selecting the 7.0 .0 dropdown and clicking on "Dependencies" and selecting "All Dependencies".
82+ // by selecting the 7.1 .0 dropdown and clicking on "Dependencies" and selecting "All Dependencies".
8383 // For completeness, I listed the modules and all their compile time dependencies (direct and indirect).
8484 // Duplicates don't matter since we use setOf.
8585 val pmd7ModulesToInclude = setOf (
8686 // LANGUAGE MODULE DEPENDENCIES (direct and indirect)
87- " pmd-apex" , " Saxon-HE" , " annotations" , " antlr4-runtime" , " apex-parser" , " apexlink" , " asm" , " checker-compat-qual" , " checker-qual" , " checker-qual " , " commons-lang3" , " error_prone_annotations" , " failureaccess" , " flogger" , " flogger-system-backend" , " geny_2.13" , " gson" , " gson-extras" , " guava" , " j2objc-annotations" , " jsr250-api" , " jsr305" , " jul-to-slf4j" , " kotlin-stdlib" , " kotlin-stdlib-common" , " kotlin-stdlib-jdk7" , " kotlin-stdlib-jdk8" , " listenablefuture" , " nice-xml-messages" , " pcollections" , " pkgforce_2.13" , " pmd-core" , " runforce" , " scala-collection-compat_2.13" , " scala-json-rpc-upickle-json-serializer_2.13" , " scala-json-rpc_2.13" , " scala-library" , " scala-parallel-collections_2.13" , " scala-reflect" , " scala-xml_2.13" , " slf4j-api" , " summit-ast" , " ujson_2.13" , " upack_2.13" , " upickle-core_2.13" , " upickle-implicits_2.13" , " upickle_2.13" ,
88- " pmd-html" , " Saxon-HE" , " antlr4-runtime" , " asm" , " checker-qual" , " commons-lang3" , " gson" , " jsoup" , " jul-to-slf4j" , " nice-xml-messages" , " pcollections" , " pmd-core" , " slf4j-api" ,
89- " pmd-java" , " Saxon-HE" , " antlr4-runtime" , " asm" , " checker-qual" , " commons-lang3" , " gson" , " jul-to-slf4j" , " nice-xml-messages" , " pcollections" , " pmd-core" , " slf4j-api" ,
90- " pmd-javascript" , " Saxon-HE" , " antlr4-runtime" , " asm" , " checker-qual" , " commons-lang3" , " gson" , " jul-to-slf4j" , " nice-xml-messages" , " pcollections" , " pmd-core" , " rhino" , " slf4j-api" ,
91- " pmd-visualforce" , " Saxon-HE" , " antlr4-runtime" , " apex-parser" , " apexlink" , " asm" , " checker-compat-qual" , " checker-qual" , " commons-lang3" , " error_prone_annotations" , " failureaccess" , " flogger" , " flogger-system-backend" , " geny_2.13" , " gson" , " gson-extras" , " guava" , " j2objc-annotations" , " jsr250-api" , " jsr305" , " jul-to-slf4j" , " kotlin-stdlib" , " kotlin-stdlib-common" , " kotlin-stdlib-jdk7" , " kotlin-stdlib-jdk8" , " listenablefuture" , " nice-xml-messages" , " pcollections" , " pkgforce_2.13" , " pmd-apex" , " pmd-core" , " runforce" , " scala-collection-compat_2.13" , " scala-json-rpc-upickle-json-serializer_2.13" , " scala-json-rpc_2.13" , " scala-library" , " scala-parallel-collections_2.13" , " scala-reflect" , " scala-xml_2.13" , " slf4j-api" , " summit-ast" , " ujson_2.13" , " upack_2.13" , " upickle-core_2.13" , " upickle-implicits_2.13" , " upickle_2.13" ,
92- " pmd-xml" , " Saxon-HE" , " antlr4-runtime" , " asm" , " checker-qual" , " commons-lang3" , " gson" , " jul-to-slf4j" , " nice-xml-messages" , " pcollections" , " pmd-core" , " slf4j-api" ,
87+ " pmd-apex" , " Saxon-HE" , " annotations" , " antlr4-runtime" , " apex-parser" , " apexlink" , " asm" , " checker-compat-qual" , " checker-qual" , " commons-lang3" , " error_prone_annotations" , " failureaccess" , " flogger" , " flogger-system-backend" , " geny_2.13" , " gson" , " gson-extras" , " guava" , " j2objc-annotations" , " jsr250-api" , " jsr305" , " jul-to-slf4j" , " kotlin-stdlib" , " kotlin-stdlib-common" , " kotlin-stdlib-jdk7" , " kotlin-stdlib-jdk8" , " listenablefuture" , " nice-xml-messages" , " pcollections" , " pkgforce_2.13" , " pmd-core" , " runforce" , " scala-collection-compat_2.13" , " scala-json-rpc-upickle-json-serializer_2.13" , " scala-json-rpc_2.13" , " scala-library" , " scala-parallel-collections_2.13" , " scala-reflect" , " scala-xml_2.13" , " slf4j-api" , " summit-ast" , " ujson_2.13" , " upack_2.13" , " upickle-core_2.13" , " upickle-implicits_2.13" , " upickle_2.13" , " xmlresolver " ,
88+ " pmd-html" , " Saxon-HE" , " antlr4-runtime" , " asm" , " checker-qual" , " commons-lang3" , " gson" , " jsoup" , " jul-to-slf4j" , " nice-xml-messages" , " pcollections" , " pmd-core" , " slf4j-api" , " xmlresolver " ,
89+ " pmd-java" , " Saxon-HE" , " antlr4-runtime" , " asm" , " checker-qual" , " commons-lang3" , " gson" , " jul-to-slf4j" , " nice-xml-messages" , " pcollections" , " pmd-core" , " slf4j-api" , " xmlresolver " ,
90+ " pmd-javascript" , " Saxon-HE" , " antlr4-runtime" , " asm" , " checker-qual" , " commons-lang3" , " gson" , " jul-to-slf4j" , " nice-xml-messages" , " pcollections" , " pmd-core" , " rhino" , " slf4j-api" , " xmlresolver " ,
91+ " pmd-visualforce" , " Saxon-HE" , " antlr4-runtime" , " apex-parser" , " apexlink" , " asm" , " checker-compat-qual" , " checker-qual" , " commons-lang3" , " error_prone_annotations" , " failureaccess" , " flogger" , " flogger-system-backend" , " geny_2.13" , " gson" , " gson-extras" , " guava" , " j2objc-annotations" , " jsr250-api" , " jsr305" , " jul-to-slf4j" , " kotlin-stdlib" , " kotlin-stdlib-common" , " kotlin-stdlib-jdk7" , " kotlin-stdlib-jdk8" , " listenablefuture" , " nice-xml-messages" , " pcollections" , " pkgforce_2.13" , " pmd-apex" , " pmd-core" , " runforce" , " scala-collection-compat_2.13" , " scala-json-rpc-upickle-json-serializer_2.13" , " scala-json-rpc_2.13" , " scala-library" , " scala-parallel-collections_2.13" , " scala-reflect" , " scala-xml_2.13" , " slf4j-api" , " summit-ast" , " ujson_2.13" , " upack_2.13" , " upickle-core_2.13" , " upickle-implicits_2.13" , " upickle_2.13" , " xmlresolver " ,
92+ " pmd-xml" , " Saxon-HE" , " antlr4-runtime" , " asm" , " checker-qual" , " commons-lang3" , " gson" , " jul-to-slf4j" , " nice-xml-messages" , " pcollections" , " pmd-core" , " slf4j-api" , " xmlresolver " ,
9393 // MAIN CLI MODULE DEPENDENCIES (direct and indirect)
94- " pmd-cli" , " Saxon-HE" , " antlr4-runtime" , " asm" , " checker-qual" , " commons-lang3" , " gson" , " jline" , " jul-to-slf4j" , " nice-xml-messages" , " pcollections" , " picocli" , " pmd-core" , " progressbar" , " slf4j-api" , " slf4j-simple" ,
94+ " pmd-cli" , " Saxon-HE" , " antlr4-runtime" , " asm" , " checker-qual" , " commons-lang3" , " gson" , " jline" , " jul-to-slf4j" , " nice-xml-messages" , " pcollections" , " picocli" , " pmd-core" , " progressbar" , " slf4j-api" , " slf4j-simple" , " xmlresolver " ,
9595 )
9696 val pmd7JarsToIncludeRegexes = mutableSetOf (""" ^LICENSE""" .toRegex())
9797 pmd7ModulesToInclude.forEach {
@@ -102,7 +102,7 @@ tasks.register<Copy>("installPmd7") {
102102 into(pmd7DistDir)
103103 includeEmptyDirs = false
104104 eachFile {
105- // We drop the parent "pmd-bin-7.0 .0" folder and put files directly into our "pmd7" folder
105+ // We drop the parent "pmd-bin-7.1 .0" folder and put files directly into our "pmd7" folder
106106 relativePath = RelativePath (true , * relativePath.segments.drop(1 ).toTypedArray())
107107 }
108108}
0 commit comments