build - Fix gradle build for Java 21 (#7058)

* build - Fix gradle build for Java 21. Add compileOnly dependencies to allow gradle build to run against Java 21

---------

Signed-off-by: Usman Saleem <usman@usmans.info>
pull/7065/head
Usman Saleem 7 months ago committed by GitHub
parent e7946f106e
commit b121a5dd6d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      datatypes/build.gradle
  2. 1
      evm/build.gradle
  3. 1
      plugin-api/build.gradle

@ -30,6 +30,7 @@ jar {
dependencies { dependencies {
compileOnly 'com.fasterxml.jackson.core:jackson-databind' compileOnly 'com.fasterxml.jackson.core:jackson-databind'
compileOnly 'io.vertx:vertx-core'
implementation project(':crypto:algorithms') implementation project(':crypto:algorithms')
implementation project(':ethereum:rlp') implementation project(':ethereum:rlp')

@ -47,6 +47,7 @@ dependencies {
implementation 'tech.pegasys:jc-kzg-4844' implementation 'tech.pegasys:jc-kzg-4844'
compileOnly 'com.fasterxml.jackson.core:jackson-databind' compileOnly 'com.fasterxml.jackson.core:jackson-databind'
compileOnly 'io.vertx:vertx-core'
testImplementation 'com.fasterxml.jackson.core:jackson-databind' testImplementation 'com.fasterxml.jackson.core:jackson-databind'
testImplementation 'info.picocli:picocli' testImplementation 'info.picocli:picocli'

@ -34,6 +34,7 @@ dependencies {
api 'io.tmio:tuweni-units' api 'io.tmio:tuweni-units'
implementation 'com.google.guava:guava' implementation 'com.google.guava:guava'
implementation project(':evm') implementation project(':evm')
compileOnly 'io.vertx:vertx-core'
} }
configurations { testArtifacts } configurations { testArtifacts }

Loading…
Cancel
Save