Skip to content

Commit 992f856

Browse files
feat!: bump gradle, gradle quality plugin and snakeyaml
1 parent fc8a9be commit 992f856

File tree

15 files changed

+281
-221
lines changed

15 files changed

+281
-221
lines changed

build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
plugins {
22
id "idea"
3-
id "com.github.mxenabled.coppuccino" version "4.4.2" apply false
4-
id "com.github.mxenabled.vogue" version "1.1.0"
3+
id "com.github.mxenabled.coppuccino" version "5.0.0-SNAPSHOT" apply false
4+
id "com.github.mxenabled.vogue" version "2.0.0-SNAPSHOT"
55
id "io.freefair.lombok" version "8.+" apply false
66
id "io.github.gradle-nexus.publish-plugin" version "1.1.+"
77
}
88

9-
version "4.7.0" // x-release-please-version
9+
version "5.0.0-SNAPSHOT" // x-release-please-version
1010

1111
def platformProject = "platform"
1212
def publishedProjects = [
@@ -29,8 +29,8 @@ allprojects {
2929
group "com.mx.path-core"
3030
description "MX Path Core"
3131
version rootProject.version
32-
sourceCompatibility = JavaVersion.VERSION_11
33-
targetCompatibility = JavaVersion.VERSION_11
32+
sourceCompatibility = JavaVersion.VERSION_17
33+
targetCompatibility = JavaVersion.VERSION_17
3434

3535
repositories {
3636
mavenCentral()
@@ -51,7 +51,7 @@ subprojects {
5151
apply plugin: "io.freefair.lombok"
5252

5353
ext {
54-
mockitoVersion = "[4.0,5.0)"
54+
mockitoVersion = "[5.0,6.0)"
5555
spockVersion = "2.4-M6-groovy-3.0"
5656
junitVersion = "5.14.0"
5757
}
@@ -251,6 +251,6 @@ task subdependencies {
251251
project.tasks.getByPath("dependencies").finalizedBy("subdependencies")
252252

253253
wrapper {
254-
gradleVersion = "7.6.3"
254+
gradleVersion = "7.6.4"
255255
distributionType = Wrapper.DistributionType.ALL
256256
}

common/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dependencies {
1010
api "com.github.rholder:guava-retrying" // For Request retries
1111
api "com.github.spotbugs:spotbugs-annotations:4.9.8" // For annotating classes and methods to suppress SpotBugs violations
1212
api "com.google.code.gson:gson"
13-
api "org.yaml:snakeyaml:1.33"
13+
api "org.yaml:snakeyaml:2.4"
1414
implementation "org.slf4j:slf4j-api"
1515
implementation "org.objenesis:objenesis:3.3"
1616
testImplementation "org.objenesis:objenesis:3.3"

common/gradle.lockfile

Lines changed: 27 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
# This is a Gradle generated file for dependency locking.
22
# Manual edits can break the build and are not advised.
33
# This file is expected to be part of source control.
4-
com.beust:jcommander:1.48=pmd
4+
com.github.oowekyala.ooxml:nice-xml-messages:3.1=pmd
55
com.github.rholder:guava-retrying:2.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
66
com.github.spotbugs:spotbugs-annotations:4.9.8=compileClasspath,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath
77
com.github.spotbugs:spotbugs:4.9.8=spotbugs
88
com.github.stephenc.jcip:jcip-annotations:1.0-1=spotbugs
99
com.google.code.findbugs:jsr305:3.0.2=checkstyle,compileClasspath,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath
10+
com.google.code.gson:gson:2.13.1=pmd
1011
com.google.code.gson:gson:2.13.2=spotbugs
11-
com.google.code.gson:gson:2.8.9=pmd
1212
com.google.code.gson:gson:2.9.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
1313
com.google.errorprone:error_prone_annotations:2.21.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
1414
com.google.errorprone:error_prone_annotations:2.36.0=checkstyle
15+
com.google.errorprone:error_prone_annotations:2.38.0=pmd
1516
com.google.errorprone:error_prone_annotations:2.41.0=spotbugs
1617
com.google.guava:failureaccess:1.0.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
1718
com.google.guava:failureaccess:1.0.3=checkstyle
@@ -22,30 +23,32 @@ com.google.j2objc:j2objc-annotations:2.8=compileClasspath,testCompileClasspath
2223
com.google.j2objc:j2objc-annotations:3.0.0=checkstyle
2324
com.puppycrawl.tools:checkstyle:10.25.0=checkstyle
2425
commons-beanutils:commons-beanutils:1.11.0=checkstyle
25-
commons-codec:commons-codec:1.15=checkstyle
26+
commons-codec:commons-codec:1.15=checkstyle,pmd
2627
commons-collections:commons-collections:3.2.2=checkstyle
2728
commons-io:commons-io:2.20.0=spotbugs
2829
info.picocli:picocli:4.7.7=checkstyle
2930
io.leangen.geantyref:geantyref:1.3.16=testRuntimeClasspath
3031
jaxen:jaxen:2.0.0=spotbugs
31-
net.bytebuddy:byte-buddy-agent:1.12.19=testCompileClasspath,testRuntimeClasspath
32-
net.bytebuddy:byte-buddy:1.12.19=testCompileClasspath,testRuntimeClasspath
33-
net.sf.saxon:Saxon-HE:12.5=checkstyle
32+
net.bytebuddy:byte-buddy-agent:1.14.1=testCompileClasspath,testRuntimeClasspath
33+
net.bytebuddy:byte-buddy:1.14.1=testCompileClasspath,testRuntimeClasspath
34+
net.sf.saxon:Saxon-HE:12.5=checkstyle,pmd
3435
net.sf.saxon:Saxon-HE:12.9=spotbugs
35-
net.sourceforge.pmd:pmd-core:6.55.0=pmd
36-
net.sourceforge.pmd:pmd-java:6.55.0=pmd
37-
net.sourceforge.saxon:saxon:9.1.0.8=pmd
36+
net.sourceforge.pmd:pmd-ant:7.16.0=pmd
37+
net.sourceforge.pmd:pmd-core:7.16.0=pmd
38+
net.sourceforge.pmd:pmd-java:7.16.0=pmd
3839
org.antlr:antlr4-runtime:4.13.2=checkstyle
39-
org.antlr:antlr4-runtime:4.7.2=pmd
40+
org.antlr:antlr4-runtime:4.9.3=pmd
4041
org.apache.bcel:bcel:6.11.0=spotbugs
41-
org.apache.commons:commons-lang3:3.18.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
42+
org.apache.commons:commons-lang3:3.18.0=pmd
4243
org.apache.commons:commons-lang3:3.19.0=spotbugs
43-
org.apache.commons:commons-lang3:3.8.1=checkstyle,pmd
44-
org.apache.commons:commons-text:1.14.0=compileClasspath,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath
44+
org.apache.commons:commons-lang3:3.20.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
45+
org.apache.commons:commons-lang3:3.8.1=checkstyle
46+
org.apache.commons:commons-text:1.14.0=spotbugs
47+
org.apache.commons:commons-text:1.15.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
4548
org.apache.commons:commons-text:1.3=checkstyle
46-
org.apache.httpcomponents.client5:httpclient5:5.1.3=checkstyle
47-
org.apache.httpcomponents.core5:httpcore5-h2:5.1.3=checkstyle
48-
org.apache.httpcomponents.core5:httpcore5:5.1.3=checkstyle
49+
org.apache.httpcomponents.client5:httpclient5:5.1.3=checkstyle,pmd
50+
org.apache.httpcomponents.core5:httpcore5-h2:5.1.3=checkstyle,pmd
51+
org.apache.httpcomponents.core5:httpcore5:5.1.3=checkstyle,pmd
4952
org.apache.httpcomponents:httpclient:4.5.13=checkstyle
5053
org.apache.httpcomponents:httpcore:4.4.14=checkstyle
5154
org.apache.logging.log4j:log4j-api:2.25.2=spotbugs
@@ -58,6 +61,7 @@ org.apache.xbean:xbean-reflect:3.7=checkstyle
5861
org.apiguardian:apiguardian-api:1.1.2=testCompileClasspath
5962
org.checkerframework:checker-qual:3.37.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
6063
org.checkerframework:checker-qual:3.49.3=checkstyle
64+
org.checkerframework:checker-qual:3.49.5=pmd
6165
org.codehaus.groovy:groovy:3.0.24=testCompileClasspath,testRuntimeClasspath
6266
org.codehaus.plexus:plexus-classworlds:2.6.0=checkstyle
6367
org.codehaus.plexus:plexus-component-annotations:2.1.0=checkstyle
@@ -75,8 +79,8 @@ org.junit.jupiter:junit-jupiter-api:5.14.0=testCompileClasspath,testRuntimeClass
7579
org.junit.platform:junit-platform-commons:1.14.0=testCompileClasspath,testRuntimeClasspath
7680
org.junit.platform:junit-platform-engine:1.14.0=testCompileClasspath,testRuntimeClasspath
7781
org.junit:junit-bom:5.14.0=runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath
78-
org.mockito:mockito-core:4.11.0=testCompileClasspath,testRuntimeClasspath
79-
org.mockito:mockito-inline:4.11.0=testCompileClasspath,testRuntimeClasspath
82+
org.mockito:mockito-core:5.2.0=testCompileClasspath,testRuntimeClasspath
83+
org.mockito:mockito-inline:5.2.0=testCompileClasspath,testRuntimeClasspath
8084
org.objenesis:objenesis:3.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
8185
org.opentest4j:opentest4j:1.3.0=testCompileClasspath,testRuntimeClasspath
8286
org.ow2.asm:asm-analysis:9.2=jacocoAnt
@@ -87,16 +91,18 @@ org.ow2.asm:asm-tree:9.2=jacocoAnt
8791
org.ow2.asm:asm-tree:9.9=spotbugs
8892
org.ow2.asm:asm-util:9.9=spotbugs
8993
org.ow2.asm:asm:9.2=jacocoAnt
90-
org.ow2.asm:asm:9.4=pmd
94+
org.ow2.asm:asm:9.8=pmd
9195
org.ow2.asm:asm:9.9=spotbugs
96+
org.pcollections:pcollections:4.0.2=pmd
9297
org.projectlombok:lombok:1.18.42=annotationProcessor,compileClasspath,lombok,testAnnotationProcessor,testCompileClasspath
9398
org.reflections:reflections:0.10.2=checkstyle
99+
org.slf4j:jul-to-slf4j:1.7.36=pmd
94100
org.slf4j:slf4j-api:1.7.30=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
95101
org.slf4j:slf4j-api:2.0.17=spotbugs,spotbugsSlf4j
96102
org.slf4j:slf4j-simple:2.0.17=spotbugsSlf4j
97103
org.spockframework:spock-bom:2.4-M6-groovy-3.0=testCompileClasspath,testRuntimeClasspath
98104
org.spockframework:spock-core:2.4-M6-groovy-3.0=testCompileClasspath,testRuntimeClasspath
99-
org.xmlresolver:xmlresolver:5.2.2=checkstyle
105+
org.xmlresolver:xmlresolver:5.2.2=checkstyle,pmd
100106
org.xmlresolver:xmlresolver:5.3.3=spotbugs
101-
org.yaml:snakeyaml:1.33=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
107+
org.yaml:snakeyaml:2.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
102108
empty=signatures,spotbugsPlugins

common/src/main/java/com/mx/path/core/common/serialization/ObjectMapYamlDeserializer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public ObjectMapYamlDeserializer(Parameters parameters) {
8585
public final Object fromYaml(String document) {
8686
LoaderOptions options = new LoaderOptions();
8787
options.setMaxAliasesForCollections(getParameters().getMaxYamlAliases());
88-
Yaml yaml = new Yaml(new ObjectMapConstructor(options), new Representer(), new DumperOptions(), options);
88+
Yaml yaml = new Yaml(new ObjectMapConstructor(options), new Representer(new DumperOptions()), new DumperOptions(), options);
8989
Object root = yaml.load(document);
9090

9191
// If the root node is a Map we need to convert it to an ObjectMap

context/gradle.lockfile

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,22 @@
22
# Manual edits can break the build and are not advised.
33
# This file is expected to be part of source control.
44
com.auth0:java-jwt:4.5.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
5-
com.beust:jcommander:1.48=pmd
65
com.fasterxml.jackson.core:jackson-annotations:2.15.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
76
com.fasterxml.jackson.core:jackson-core:2.15.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
87
com.fasterxml.jackson.core:jackson-databind:2.15.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
98
com.fasterxml.jackson:jackson-bom:2.15.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
9+
com.github.oowekyala.ooxml:nice-xml-messages:3.1=pmd
1010
com.github.rholder:guava-retrying:2.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
1111
com.github.spotbugs:spotbugs-annotations:4.9.8=compileClasspath,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath
1212
com.github.spotbugs:spotbugs:4.9.8=spotbugs
1313
com.github.stephenc.jcip:jcip-annotations:1.0-1=spotbugs
1414
com.google.code.findbugs:jsr305:3.0.2=checkstyle,compileClasspath,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath
15+
com.google.code.gson:gson:2.13.1=pmd
1516
com.google.code.gson:gson:2.13.2=spotbugs
16-
com.google.code.gson:gson:2.8.9=pmd
1717
com.google.code.gson:gson:2.9.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
1818
com.google.errorprone:error_prone_annotations:2.21.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
1919
com.google.errorprone:error_prone_annotations:2.36.0=checkstyle
20+
com.google.errorprone:error_prone_annotations:2.38.0=pmd
2021
com.google.errorprone:error_prone_annotations:2.41.0=spotbugs
2122
com.google.guava:failureaccess:1.0.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
2223
com.google.guava:failureaccess:1.0.3=checkstyle
@@ -27,7 +28,7 @@ com.google.j2objc:j2objc-annotations:2.8=compileClasspath,testCompileClasspath
2728
com.google.j2objc:j2objc-annotations:3.0.0=checkstyle
2829
com.puppycrawl.tools:checkstyle:10.25.0=checkstyle
2930
commons-beanutils:commons-beanutils:1.11.0=checkstyle
30-
commons-codec:commons-codec:1.15=checkstyle
31+
commons-codec:commons-codec:1.15=checkstyle,pmd
3132
commons-collections:commons-collections:3.2.2=checkstyle
3233
commons-io:commons-io:2.20.0=spotbugs
3334
commons-lang:commons-lang:2.6=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
@@ -40,22 +41,24 @@ io.opentracing:opentracing-util:0.33.0=compileClasspath,runtimeClasspath,testCom
4041
jaxen:jaxen:2.0.0=spotbugs
4142
net.bytebuddy:byte-buddy-agent:1.14.9=testCompileClasspath,testRuntimeClasspath
4243
net.bytebuddy:byte-buddy:1.14.9=testCompileClasspath,testRuntimeClasspath
43-
net.sf.saxon:Saxon-HE:12.5=checkstyle
44+
net.sf.saxon:Saxon-HE:12.5=checkstyle,pmd
4445
net.sf.saxon:Saxon-HE:12.9=spotbugs
45-
net.sourceforge.pmd:pmd-core:6.55.0=pmd
46-
net.sourceforge.pmd:pmd-java:6.55.0=pmd
47-
net.sourceforge.saxon:saxon:9.1.0.8=pmd
46+
net.sourceforge.pmd:pmd-ant:7.16.0=pmd
47+
net.sourceforge.pmd:pmd-core:7.16.0=pmd
48+
net.sourceforge.pmd:pmd-java:7.16.0=pmd
4849
org.antlr:antlr4-runtime:4.13.2=checkstyle
49-
org.antlr:antlr4-runtime:4.7.2=pmd
50+
org.antlr:antlr4-runtime:4.9.3=pmd
5051
org.apache.bcel:bcel:6.11.0=spotbugs
51-
org.apache.commons:commons-lang3:3.18.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
52+
org.apache.commons:commons-lang3:3.18.0=pmd
5253
org.apache.commons:commons-lang3:3.19.0=spotbugs
53-
org.apache.commons:commons-lang3:3.8.1=checkstyle,pmd
54-
org.apache.commons:commons-text:1.14.0=compileClasspath,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath
54+
org.apache.commons:commons-lang3:3.20.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
55+
org.apache.commons:commons-lang3:3.8.1=checkstyle
56+
org.apache.commons:commons-text:1.14.0=spotbugs
57+
org.apache.commons:commons-text:1.15.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
5558
org.apache.commons:commons-text:1.3=checkstyle
56-
org.apache.httpcomponents.client5:httpclient5:5.1.3=checkstyle
57-
org.apache.httpcomponents.core5:httpcore5-h2:5.1.3=checkstyle
58-
org.apache.httpcomponents.core5:httpcore5:5.1.3=checkstyle
59+
org.apache.httpcomponents.client5:httpclient5:5.1.3=checkstyle,pmd
60+
org.apache.httpcomponents.core5:httpcore5-h2:5.1.3=checkstyle,pmd
61+
org.apache.httpcomponents.core5:httpcore5:5.1.3=checkstyle,pmd
5962
org.apache.httpcomponents:httpclient:4.5.13=checkstyle
6063
org.apache.httpcomponents:httpcore:4.4.14=checkstyle
6164
org.apache.logging.log4j:log4j-api:2.25.2=spotbugs
@@ -68,6 +71,7 @@ org.apache.xbean:xbean-reflect:3.7=checkstyle
6871
org.apiguardian:apiguardian-api:1.1.2=testCompileClasspath
6972
org.checkerframework:checker-qual:3.37.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
7073
org.checkerframework:checker-qual:3.49.3=checkstyle
74+
org.checkerframework:checker-qual:3.49.5=pmd
7175
org.codehaus.groovy:groovy:3.0.24=testCompileClasspath,testRuntimeClasspath
7276
org.codehaus.plexus:plexus-classworlds:2.6.0=checkstyle
7377
org.codehaus.plexus:plexus-component-annotations:2.1.0=checkstyle
@@ -85,8 +89,8 @@ org.junit.jupiter:junit-jupiter-api:5.14.0=testCompileClasspath,testRuntimeClass
8589
org.junit.platform:junit-platform-commons:1.14.0=testCompileClasspath,testRuntimeClasspath
8690
org.junit.platform:junit-platform-engine:1.14.0=testCompileClasspath,testRuntimeClasspath
8791
org.junit:junit-bom:5.14.0=runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath
88-
org.mockito:mockito-core:4.11.0=testCompileClasspath,testRuntimeClasspath
89-
org.mockito:mockito-inline:4.11.0=testCompileClasspath,testRuntimeClasspath
92+
org.mockito:mockito-core:5.2.0=testCompileClasspath,testRuntimeClasspath
93+
org.mockito:mockito-inline:5.2.0=testCompileClasspath,testRuntimeClasspath
9094
org.objenesis:objenesis:3.3=runtimeClasspath,testRuntimeClasspath
9195
org.opentest4j:opentest4j:1.3.0=testCompileClasspath,testRuntimeClasspath
9296
org.ow2.asm:asm-analysis:9.2=jacocoAnt
@@ -97,18 +101,20 @@ org.ow2.asm:asm-tree:9.2=jacocoAnt
97101
org.ow2.asm:asm-tree:9.9=spotbugs
98102
org.ow2.asm:asm-util:9.9=spotbugs
99103
org.ow2.asm:asm:9.2=jacocoAnt
100-
org.ow2.asm:asm:9.4=pmd
104+
org.ow2.asm:asm:9.8=pmd
101105
org.ow2.asm:asm:9.9=spotbugs
106+
org.pcollections:pcollections:4.0.2=pmd
102107
org.projectlombok:lombok:1.18.42=annotationProcessor,compileClasspath,lombok,testAnnotationProcessor,testCompileClasspath
103108
org.reflections:reflections:0.10.2=checkstyle
109+
org.slf4j:jul-to-slf4j:1.7.36=pmd
104110
org.slf4j:slf4j-api:1.7.30=runtimeClasspath,testRuntimeClasspath
105111
org.slf4j:slf4j-api:2.0.17=spotbugs,spotbugsSlf4j
106112
org.slf4j:slf4j-simple:2.0.17=spotbugsSlf4j
107113
org.spockframework:spock-bom:2.4-M6-groovy-3.0=testCompileClasspath,testRuntimeClasspath
108114
org.spockframework:spock-core:2.4-M6-groovy-3.0=testCompileClasspath,testRuntimeClasspath
109-
org.xmlresolver:xmlresolver:5.2.2=checkstyle
115+
org.xmlresolver:xmlresolver:5.2.2=checkstyle,pmd
110116
org.xmlresolver:xmlresolver:5.3.3=spotbugs
111-
org.yaml:snakeyaml:1.33=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
117+
org.yaml:snakeyaml:2.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
112118
uk.org.webcompere:system-stubs-core:2.1.5=testCompileClasspath,testRuntimeClasspath
113119
uk.org.webcompere:system-stubs-jupiter:2.1.5=testCompileClasspath,testRuntimeClasspath
114120
empty=signatures,spotbugsPlugins

0 commit comments

Comments
 (0)