Skip to content

Commit

Permalink
build - Fix gradle build for Java 21 (hyperledger#7058)
Browse files Browse the repository at this point in the history
* build - Fix gradle build for Java 21. Add compileOnly dependencies to allow gradle build to run against Java 21

---------

Signed-off-by: Usman Saleem <[email protected]>
  • Loading branch information
usmansaleem authored May 7, 2024
1 parent e7946f1 commit b121a5d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions datatypes/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jar {

dependencies {
compileOnly 'com.fasterxml.jackson.core:jackson-databind'
compileOnly 'io.vertx:vertx-core'

implementation project(':crypto:algorithms')
implementation project(':ethereum:rlp')
Expand Down
1 change: 1 addition & 0 deletions evm/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ dependencies {
implementation 'tech.pegasys:jc-kzg-4844'

compileOnly 'com.fasterxml.jackson.core:jackson-databind'
compileOnly 'io.vertx:vertx-core'

testImplementation 'com.fasterxml.jackson.core:jackson-databind'
testImplementation 'info.picocli:picocli'
Expand Down
1 change: 1 addition & 0 deletions plugin-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ dependencies {
api 'io.tmio:tuweni-units'
implementation 'com.google.guava:guava'
implementation project(':evm')
compileOnly 'io.vertx:vertx-core'
}

configurations { testArtifacts }
Expand Down

0 comments on commit b121a5d

Please sign in to comment.