Skip to content

Commit

Permalink
statereover: remove besu transitive dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jpnovais committed Nov 21, 2024
1 parent 678f16c commit 97e7c7e
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 8 deletions.
23 changes: 23 additions & 0 deletions jvm-libs/linea/besu-libs/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
plugins {
id 'net.consensys.zkevm.kotlin-library-minimal-conventions'
id 'java-library'
}

dependencies {
api("org.hyperledger.besu:besu-datatypes:${libs.versions.besu.get()}") {
transitive = false
}
api("org.hyperledger.besu:evm:${libs.versions.besu.get()}") {
transitive = false
}
api("org.hyperledger.besu.internal:core:${libs.versions.besu.get()}") {
transitive = false
}
api("org.hyperledger.besu.internal:algorithms:${libs.versions.besu.get()}") {
transitive = false
}

api("org.hyperledger.besu:plugin-api:${libs.versions.besu.get()}") {
transitive = false
}
}
5 changes: 1 addition & 4 deletions jvm-libs/linea/web3j-extensions/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,14 @@ dependencies {
api project(':jvm-libs:linea:core:domain-models')
api project(':jvm-libs:generic:logging')
// For domain mappers
api project(':jvm-libs:linea:besu-libs')
implementation project(":jvm-libs:generic:extensions:kotlin")
implementation "tech.pegasys.teku.internal:bytes:${libs.versions.teku.get()}"
implementation "tech.pegasys.teku.internal:jackson:${libs.versions.teku.get()}"
// Returned by domain mapper
api project(":jvm-libs:linea:teku-execution-client")
implementation "tech.pegasys.teku.internal:unsigned:${libs.versions.teku.get()}"
implementation "org.hyperledger.besu:besu-datatypes:${libs.versions.besu.get()}"
implementation "org.hyperledger.besu:evm:${libs.versions.besu.get()}"
implementation "org.hyperledger.besu.internal:core:${libs.versions.besu.get()}"
implementation "org.hyperledger.besu.internal:algorithms:${libs.versions.besu.get()}"
implementation "org.hyperledger.besu:plugin-api:${libs.versions.besu.get()}"

testImplementation "org.apache.logging.log4j:log4j-slf4j2-impl:${libs.versions.log4j.get()}"
testImplementation "com.fasterxml.jackson.core:jackson-annotations:${libs.versions.jackson.get()}"
Expand Down
9 changes: 5 additions & 4 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
rootProject.name = 'linea'

// please keep deps sorted by group and alphabetically
include 'jvm-libs:generic:serialization:jackson'
include 'jvm-libs:generic:json-rpc'
include 'jvm-libs:generic:http-rest'
Expand All @@ -11,15 +11,16 @@ include 'jvm-libs:generic:vertx-helper'
include 'jvm-libs:generic:errors'
include 'jvm-libs:generic:persistence:db'

include 'jvm-libs:linea:besu-libs'
include 'jvm-libs:linea:blob-compressor'
include 'jvm-libs:linea:blob-decompressor'
include 'jvm-libs:linea:blob-shnarf-calculator'
include 'jvm-libs:linea:clients:linea-state-manager'
include 'jvm-libs:linea:core:client-interface'
include 'jvm-libs:linea:core:domain-models'
include 'jvm-libs:linea:core:long-running-service'
include 'jvm-libs:linea:core:metrics'
include 'jvm-libs:linea:core:traces'
include 'jvm-libs:linea:blob-compressor'
include 'jvm-libs:linea:blob-decompressor'
include 'jvm-libs:linea:blob-shnarf-calculator'
include 'jvm-libs:linea:linea-contracts:l1-rollup'
include 'jvm-libs:linea:linea-contracts:l2-message-service'
include 'jvm-libs:linea:metrics:micrometer'
Expand Down

0 comments on commit 97e7c7e

Please sign in to comment.