Skip to content

Commit 7f725f7

Browse files
committed
Update gradle build dependencies
Signed-off-by: Taylor Smock <[email protected]>
1 parent f7c1d3d commit 7f725f7

File tree

4 files changed

+22
-17
lines changed

4 files changed

+22
-17
lines changed

build.gradle

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import groovy.xml.XmlParser
22

33
plugins {
4-
id "com.diffplug.spotless" version "6.20.0"
5-
id "com.github.ben-manes.versions" version "0.47.0"
6-
id "com.github.spotbugs" version "5.0.14"
4+
id "com.diffplug.spotless" version "6.25.0"
5+
id "com.github.ben-manes.versions" version "0.51.0"
6+
id "com.github.spotbugs" version "6.0.8"
77
// id "de.aaschmid.cpd" version "3.3"
88
id "eclipse"
99
id "jacoco"
@@ -12,7 +12,7 @@ plugins {
1212
id "maven-publish"
1313
id "net.ltgt.errorprone" version "3.1.0"
1414
id "org.openstreetmap.josm" version "0.8.2"
15-
id "org.sonarqube" version "4.2.1.3168"
15+
id "org.sonarqube" version "4.4.1.3373"
1616
id "pmd"
1717
}
1818

@@ -29,15 +29,15 @@ repositories {
2929

3030
def versions = [
3131
awaitility: "4.2.0",
32-
equalsverifier: "3.15",
33-
errorprone: "2.20.0",
34-
findsecbugs: "1.12.0",
32+
equalsverifier: "3.15.8",
33+
errorprone: "2.26.0",
34+
findsecbugs: "1.13.0",
3535
jacoco: "0.8.10",
3636
jmockit: "1.49.a",
3737
josm: properties.get("plugin.compile.version"),
38-
junit: "5.9.1",
38+
junit: "5.10.2",
3939
pmd: "6.20.0",
40-
spotbugs: "4.7.3",
40+
spotbugs: "4.8.3",
4141
wiremock: "2.35.0",
4242
]
4343

gradle/wrapper/gradle-wrapper.jar

1.71 KB
Binary file not shown.
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionSha256Sum=03ec176d388f2aa99defcadc3ac6adf8dd2bce5145a129659537c0874dea5ad1
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
3+
distributionSha256Sum=9631d53cf3e74bfa726893aee1f8994fee4e060c401335946dba2156f440f24c
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
55
networkTimeout=10000
6+
validateDistributionUrl=true
67
zipStoreBase=GRADLE_USER_HOME
78
zipStorePath=wrapper/dists

gradlew

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,6 @@ done
8585
APP_BASE_NAME=${0##*/}
8686
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
8787

88-
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
89-
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
90-
9188
# Use the maximum available, or set MAX_FD != -1 to use that value.
9289
MAX_FD=maximum
9390

@@ -133,26 +130,29 @@ location of your Java installation."
133130
fi
134131
else
135132
JAVACMD=java
136-
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
133+
if ! command -v java >/dev/null 2>&1
134+
then
135+
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
137136
138137
Please set the JAVA_HOME variable in your environment to match the
139138
location of your Java installation."
139+
fi
140140
fi
141141

142142
# Increase the maximum file descriptors if we can.
143143
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
144144
case $MAX_FD in #(
145145
max*)
146146
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
147-
# shellcheck disable=SC3045
147+
# shellcheck disable=SC3045
148148
MAX_FD=$( ulimit -H -n ) ||
149149
warn "Could not query maximum file descriptor limit"
150150
esac
151151
case $MAX_FD in #(
152152
'' | soft) :;; #(
153153
*)
154154
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
155-
# shellcheck disable=SC3045
155+
# shellcheck disable=SC3045
156156
ulimit -n "$MAX_FD" ||
157157
warn "Could not set maximum file descriptor limit to $MAX_FD"
158158
esac
@@ -197,6 +197,10 @@ if "$cygwin" || "$msys" ; then
197197
done
198198
fi
199199

200+
201+
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
202+
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
203+
200204
# Collect all arguments for the java command;
201205
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
202206
# shell script including quotes and variable substitutions, so put them in

0 commit comments

Comments
 (0)