Skip to content

Commit

Permalink
feat(dependencies): update dependencies for jdk17
Browse files Browse the repository at this point in the history
   add javax.jws-api:1.1 and javax.annotation-api:1.3.2, refs:JDK-8190378, JEP 320
   remove com.carrotsearch:java-sizeof:0.0.5
   bump lombok from 1.18.12 to 1.18.34, refs: [Lombok Changelog](https://projectlombok.org/changelog)
   bump aspectjrt from 1.18.13 to 1.9.8, refs: [AspectJ Java version compatibility](https://eclipse.dev/aspectj/doc/latest/release/JavaVersionCompatibility.html)
  • Loading branch information
halibobo1205 committed Jan 13, 2025
1 parent 92ae447 commit bf96b84
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 70 deletions.
14 changes: 10 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,16 @@ subprojects {
implementation group: 'joda-time', name: 'joda-time', version: '2.3'
implementation group: 'org.bouncycastle', name: 'bcprov-jdk15on', version: '1.69'

compileOnly 'org.projectlombok:lombok:1.18.12'
annotationProcessor 'org.projectlombok:lombok:1.18.12'
testCompileOnly 'org.projectlombok:lombok:1.18.12'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.12'
compileOnly 'org.projectlombok:lombok:1.18.34'
annotationProcessor 'org.projectlombok:lombok:1.18.34'
testCompileOnly 'org.projectlombok:lombok:1.18.34'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.34'

// https://www.oracle.com/java/technologies/javase/11-relnote-issues.html#JDK-8190378
implementation group: 'javax.annotation', name: 'javax.annotation-api', version: '1.3.2'
// for json-rpc, see https://github.com/briandilley/jsonrpc4j/issues/278
implementation group: 'javax.jws', name: 'javax.jws-api', version: '1.1'
annotationProcessor group: 'javax.annotation', name: 'javax.annotation-api', version: '1.3.2'

testImplementation group: 'junit', name: 'junit', version: '4.13.2'
testImplementation "org.mockito:mockito-core:4.11.0"
Expand Down
8 changes: 5 additions & 3 deletions common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@ dependencies {
api group: 'io.prometheus', name: 'simpleclient', version: '0.15.0'
api group: 'io.prometheus', name: 'simpleclient_httpserver', version: '0.15.0'
api group: 'io.prometheus', name: 'simpleclient_hotspot', version: '0.15.0'
api 'org.aspectj:aspectjrt:1.8.13'
api 'org.aspectj:aspectjweaver:1.8.13'
api 'org.aspectj:aspectjtools:1.8.13'
// https://openjdk.org/jeps/396, JEP 396: Strongly Encapsulate JDK Internals by Default
// https://eclipse.dev/aspectj/doc/latest/release/JavaVersionCompatibility.html
api 'org.aspectj:aspectjrt:1.9.8'
api 'org.aspectj:aspectjweaver:1.9.8'
api 'org.aspectj:aspectjtools:1.9.8'
api group: 'io.github.tronprotocol', name: 'libp2p', version: '2.2.4',{
exclude group: 'io.grpc', module: 'grpc-context'
exclude group: 'io.grpc', module: 'grpc-core'
Expand Down
1 change: 0 additions & 1 deletion framework/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ dependencies {
implementation group: 'com.google.inject', name: 'guice', version: '4.1.0'
implementation group: 'io.dropwizard.metrics', name: 'metrics-core', version: '3.1.2'
implementation group: 'com.github.davidb', name: 'metrics-influxdb', version: '0.8.2'
implementation group: 'com.carrotsearch', name: 'java-sizeof', version: '0.0.5'
// http
implementation 'org.eclipse.jetty:jetty-server:9.4.53.v20231009'
implementation 'org.eclipse.jetty:jetty-servlet:9.4.53.v20231009'
Expand Down

This file was deleted.

0 comments on commit bf96b84

Please sign in to comment.