/* * Copyright Consensys Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * * SPDX-License-Identifier: Apache-2.0 */ plugins { id 'java' id 'java-library-distribution' alias(libs.plugins.lombok) alias(libs.plugins.gradleVersions) alias(libs.plugins.dependencyManagement) alias(libs.plugins.download) } group = 'net.consensys.linea.besu.plugin' def lineaSequencerProject = project(lineaSequencerProjectPath) apply from: lineaSequencerProject.file("gradle/java.gradle") apply from: lineaSequencerProject.file("gradle/dependency-management.gradle") apply from: lineaSequencerProject.file('gradle/common-dependencies.gradle') apply from: lineaSequencerProject.file("gradle/build-aliases.gradle") apply from: lineaSequencerProject.file("gradle/lint.gradle") dependencies { // annotationProcessor generates the file META-INF/services/org.hyperledger.besu.plugin.BesuPlugin annotationProcessor 'com.google.auto.service:auto-service' compileOnly 'com.google.auto.service:auto-service' api "build.linea:blob-compressor:${libs.versions.blobCompressor.get()}" api "build.linea.internal:kotlin:${libs.versions.lineaKotlin.get()}" implementation "${besuArtifactGroup}:besu-datatypes" implementation "${besuArtifactGroup}:evm" implementation "${besuArtifactGroup}:plugin-api" implementation "${besuArtifactGroup}.internal:algorithms" implementation "${besuArtifactGroup}.internal:api" implementation "${besuArtifactGroup}.internal:core" implementation "${besuArtifactGroup}.internal:eth" implementation "${besuArtifactGroup}.internal:rlp" implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8' implementation 'com.github.ben-manes.caffeine:caffeine' implementation 'com.google.code.gson:gson' implementation "io.tmio:tuweni-bytes" implementation "io.tmio:tuweni-units" implementation "io.tmio:tuweni-toml" implementation 'info.picocli:picocli' implementation 'net.consensys.linea.zktracer:arithmetization' implementation 'org.hibernate.validator:hibernate-validator' testImplementation "${besuArtifactGroup}.internal:besu" testImplementation group: "${besuArtifactGroup}.internal", name: "core", classifier: "test-support" testImplementation 'org.awaitility:awaitility' } apply from: lineaSequencerProject.file("gradle/dist.gradle")