Files
linea-monorepo/jvm-libs/linea/linea-contracts/l1-rollup/build.gradle
The Dark Jester b1c8ec57d6 [Chore] - 498 v5 techdebt cleanup (#613)
* initial V5 removal before main coordinator adjust

* fix build issue

* default to V6 and remove V5 references

* force  Web3JLineaRollupSmartContractClientReadOnly

* fix test reference

* remove V5 references
2025-01-29 20:49:23 +00:00

29 lines
777 B
Groovy

plugins {
id 'java-library'
id 'linea.web3j-codegen'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
description = 'Web3J Java client for Linea L1 Rollup Smart Contract'
ext.artifactId = 'l1-rollup-contract-client'
dependencies {
// this shall be very lightweight dependency, just export the generated sources
compileOnly("org.web3j:core:${libs.versions.web3j.get()}") {
exclude group: 'org.slf4j', module: 'slf4j-nop'
}
}
web3jContractWrappers {
def contractsDir = layout.buildDirectory.dir("${rootProject.projectDir}/contracts/abi").get()
def contractV6Abi = contractsDir.file("LineaRollupV6.0.abi").asFile.absolutePath
contractsPackage = "build.linea.contract"
contracts = [
"$contractV6Abi": "LineaRollupV6"
]
}