|
| 1 | +/* |
| 2 | + * Copyright Besu Contributors. |
| 3 | + * |
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with |
| 5 | + * the License. You may obtain a copy of the License at |
| 6 | + * |
| 7 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | + * |
| 9 | + * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on |
| 10 | + * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the |
| 11 | + * specific language governing permissions and limitations under the License. |
| 12 | + * |
| 13 | + * SPDX-License-Identifier: Apache-2.0 |
| 14 | + */ |
| 15 | + |
| 16 | +apply plugin: 'java-library' |
| 17 | + |
| 18 | +jar { |
| 19 | + archiveBaseName = 'besu-qbft-core' |
| 20 | + manifest { |
| 21 | + attributes( |
| 22 | + 'Specification-Title': archiveBaseName, |
| 23 | + 'Specification-Version': project.version, |
| 24 | + 'Implementation-Title': archiveBaseName, |
| 25 | + 'Implementation-Version': calculateVersion(), |
| 26 | + 'Commit-Hash': getGitCommitDetails(40).hash |
| 27 | + ) |
| 28 | + } |
| 29 | +} |
| 30 | + |
| 31 | +dependencies { |
| 32 | + implementation project(':config') |
| 33 | + implementation project(':consensus:common') |
| 34 | + implementation project(':crypto:services') |
| 35 | + implementation project(':datatypes') |
| 36 | + implementation project(':ethereum:blockcreation') |
| 37 | + implementation project(':ethereum:core') |
| 38 | + implementation project(':ethereum:eth') |
| 39 | + implementation project(':ethereum:p2p') |
| 40 | + implementation project(':ethereum:rlp') |
| 41 | + implementation project(':evm') |
| 42 | + |
| 43 | + implementation 'com.google.guava:guava' |
| 44 | + implementation 'io.tmio:tuweni-bytes' |
| 45 | + |
| 46 | + integrationTestImplementation project(path: ':config', configuration: 'testSupportArtifacts') |
| 47 | + integrationTestImplementation project(path: ':ethereum:core', configuration: 'testSupportArtifacts') |
| 48 | + |
| 49 | + testImplementation project(path: ':crypto:services', configuration: 'testSupportArtifacts') |
| 50 | + testImplementation project(path: ':config', configuration: 'testSupportArtifacts') |
| 51 | + testImplementation project(path: ':consensus:common', configuration: 'testArtifacts') |
| 52 | + testImplementation project(path: ':consensus:common', configuration: 'testSupportArtifacts') |
| 53 | + testImplementation project(':ethereum:core') |
| 54 | + testImplementation project(path: ':ethereum:core', configuration: 'testSupportArtifacts') |
| 55 | + testImplementation project(':crypto:algorithms') |
| 56 | + testImplementation project(':evm') |
| 57 | + testImplementation project(':metrics:core') |
| 58 | + testImplementation project(':testutil') |
| 59 | + |
| 60 | + testImplementation 'org.assertj:assertj-core' |
| 61 | + testImplementation 'org.awaitility:awaitility' |
| 62 | + testImplementation 'org.junit.jupiter:junit-jupiter' |
| 63 | + testImplementation 'org.mockito:mockito-core' |
| 64 | + testImplementation 'org.mockito:mockito-junit-jupiter' |
| 65 | + |
| 66 | + integrationTestImplementation project(':crypto:algorithms') |
| 67 | + integrationTestImplementation project(path: ':crypto:services', configuration: 'testSupportArtifacts') |
| 68 | + integrationTestImplementation project(path: ':consensus:common', configuration: 'testSupportArtifacts') |
| 69 | + integrationTestImplementation project(':consensus:qbft') |
| 70 | + integrationTestImplementation project(':evm') |
| 71 | + integrationTestImplementation project(':metrics:core') |
| 72 | + integrationTestImplementation project(':testutil') |
| 73 | + |
| 74 | + integrationTestImplementation 'org.assertj:assertj-core' |
| 75 | + integrationTestImplementation 'org.junit.jupiter:junit-jupiter-api' |
| 76 | + integrationTestImplementation 'org.mockito:mockito-core' |
| 77 | + integrationTestImplementation 'org.mockito:mockito-junit-jupiter' |
| 78 | + |
| 79 | + integrationTestRuntimeOnly 'org.junit.jupiter:junit-jupiter' |
| 80 | + |
| 81 | + testSupportImplementation 'org.mockito:mockito-core' |
| 82 | +} |
0 commit comments