Skip to content

Commit 4af6419

Browse files
Merge pull request #1743 from forcedotcom/sc/W-17702087
CHANGE(pmd): @W-17702087@: Update PMD to version 7.10.0
2 parents 43e4697 + 1be8623 commit 4af6419

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

pmd7/build.gradle.kts

+1-13
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repositories {
1010
}
1111

1212
// Keep this in sync with src/Constants.ts > PMD7_VERSION
13-
var pmd7Version = "7.9.0"
13+
var pmd7Version = "7.10.0"
1414

1515
val pmdDist7Dir = "$buildDir/../../dist/pmd7"
1616

@@ -26,18 +26,6 @@ dependencies {
2626
implementation("net.sourceforge.pmd:pmd-xml:$pmd7Version")
2727
}
2828

29-
// TEMPORARY - FOR SOME REASON WHEN UPGRADING TO PMD 7.9.0, THE TRANSITIVE DEPENDENCY:
30-
// io.github.apex-dev-tools:apex-parser
31-
// IS GETTING PULLED IN AS 4.3.1 INSTEAD OF THE LISTED 4.3.0 AND IT SEEMS TO HAVE A BUG: A MISSING DEPENDENCY LISTED.
32-
// SO WE SHOULD FORCE 4.3.0 TO GET PULLED IN INSTEAD UNTIL THIS IS FIXED.
33-
// See https://github.com/pmd/pmd/issues/5456
34-
// TODO: As soon as the pmd folks fix this ^... we should remove this workaround:
35-
configurations.all {
36-
resolutionStrategy {
37-
force("io.github.apex-dev-tools:apex-parser:4.3.0")
38-
}
39-
}
40-
4129
tasks.register<Copy>("copyDependencies") {
4230
from(configurations.runtimeClasspath)
4331
into("$pmdDist7Dir/lib")

src/Constants.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import os = require('os');
22
import path = require('path');
33

44
// Keep this in sync with <repoRoot>/pmd7/build.gradle.kts > pmd7Version
5-
export const PMD7_VERSION = '7.9.0';
5+
export const PMD7_VERSION = '7.10.0';
66

77
export const PMD_APPEXCHANGE_RULES_VERSION = '0.16';
88

0 commit comments

Comments
 (0)