aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-04-05 18:13:33 -0700
committerAnton Tananaev <anton@traccar.org>2024-04-05 18:13:33 -0700
commit0e006ec6f5cc9a0b7853f093b041ac55e88dcb85 (patch)
tree9f3c4803fecffaeaaa87f3e4593e3ab7d31c8cc9
parent5d571897e0d60c574cbb9ed85a04acfb40ce7f3c (diff)
downloadtrackermap-server-0e006ec6f5cc9a0b7853f093b041ac55e88dcb85.tar.gz
trackermap-server-0e006ec6f5cc9a0b7853f093b041ac55e88dcb85.tar.bz2
trackermap-server-0e006ec6f5cc9a0b7853f093b041ac55e88dcb85.zip
Update Java dependencies
-rw-r--r--build.gradle44
1 files changed, 23 insertions, 21 deletions
diff --git a/build.gradle b/build.gradle
index 3677f8f94..d61856c1b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,3 +1,5 @@
+import enforcer.rules.EnforceBytecodeVersion
+
plugins {
id "java"
id "checkstyle"
@@ -14,25 +16,25 @@ compileJava.options.encoding = "UTF-8"
jar.destinationDirectory = file("$projectDir/target")
checkstyle {
- toolVersion = "10.12.5"
+ toolVersion = "10.15.0"
configFile = "gradle/checkstyle.xml" as File
checkstyleTest.enabled = false
}
enforce {
- rule(enforcer.rules.EnforceBytecodeVersion) { r ->
+ rule(EnforceBytecodeVersion) { r ->
r.maxJdkVersion = "11"
}
}
ext {
guiceVersion = "7.0.0"
- jettyVersion = "11.0.19"
+ jettyVersion = "11.0.20"
jerseyVersion = "3.1.5"
jacksonVersion = "2.15.3" // same version as jersey-media-json-jackson dependency
- protobufVersion = "3.25.2"
- jxlsVersion = "2.14.0"
- junitVersion = "5.10.1"
+ protobufVersion = "4.26.1"
+ jxlsVersion = "2.14.0" // version 3 requires java 17
+ junitVersion = "5.10.2"
}
protobuf {
@@ -42,15 +44,15 @@ protobuf {
}
dependencies {
- implementation "commons-codec:commons-codec:1.16.0"
+ implementation "commons-codec:commons-codec:1.16.1"
implementation "com.h2database:h2:2.2.224"
- implementation "com.mysql:mysql-connector-j:8.2.0"
- implementation "org.mariadb.jdbc:mariadb-java-client:3.3.2"
- implementation "org.postgresql:postgresql:42.7.1"
- implementation "com.microsoft.sqlserver:mssql-jdbc:12.4.2.jre11"
+ implementation "com.mysql:mysql-connector-j:8.3.0"
+ implementation "org.mariadb.jdbc:mariadb-java-client:3.3.3"
+ implementation "org.postgresql:postgresql:42.7.3"
+ implementation "com.microsoft.sqlserver:mssql-jdbc:12.6.1.jre11"
implementation "com.zaxxer:HikariCP:5.1.0"
- implementation "io.netty:netty-all:4.1.104.Final"
- implementation "org.slf4j:slf4j-jdk14:2.0.11"
+ implementation "io.netty:netty-all:4.1.108.Final"
+ implementation "org.slf4j:slf4j-jdk14:2.0.12"
implementation "com.google.inject:guice:$guiceVersion"
implementation "com.google.inject.extensions:guice-servlet:$guiceVersion"
implementation "org.owasp.encoder:encoder:1.2.3"
@@ -76,30 +78,30 @@ dependencies {
implementation "org.apache.velocity:velocity-engine-core:2.3"
implementation "org.apache.velocity.tools:velocity-tools-generic:3.1"
implementation "org.apache.commons:commons-collections4:4.4"
- implementation "org.mnode.ical4j:ical4j:3.2.14"
+ implementation "org.mnode.ical4j:ical4j:3.2.17"
implementation "org.locationtech.spatial4j:spatial4j:0.8"
implementation "org.locationtech.jts:jts-core:1.19.0"
implementation "net.java.dev.jna:jna-platform:5.14.0"
- implementation "com.github.jnr:jnr-posix:3.1.18"
+ implementation "com.github.jnr:jnr-posix:3.1.19"
implementation "com.google.protobuf:protobuf-java:$protobufVersion"
- implementation "com.amazonaws:aws-java-sdk-sns:1.12.636"
- implementation "org.apache.kafka:kafka-clients:3.6.1"
+ implementation "com.amazonaws:aws-java-sdk-sns:1.12.694"
+ implementation "org.apache.kafka:kafka-clients:3.7.0"
implementation "com.hivemq:hivemq-mqtt-client:1.3.3"
- implementation "redis.clients:jedis:5.1.0"
+ implementation "redis.clients:jedis:5.1.2"
implementation "com.google.firebase:firebase-admin:9.2.0"
- implementation "com.nimbusds:oauth2-oidc-sdk:11.9.1"
+ implementation "com.nimbusds:oauth2-oidc-sdk:11.10.1"
implementation "com.rabbitmq:amqp-client:5.20.0"
implementation "com.warrenstrange:googleauth:1.5.0"
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
testImplementation "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
- testImplementation "org.mockito:mockito-core:5.8.0"
+ testImplementation "org.mockito:mockito-core:5.11.0"
}
test {
useJUnitPlatform()
}
-task copyDependencies(type: Copy) {
+tasks.register('copyDependencies', Copy) {
into "$projectDir/target/lib"
from configurations.runtimeClasspath
}