mirror of https://github.com/hyperledger/besu
An enterprise-grade Java-based, Apache 2.0 licensed Ethereum client https://wiki.hyperledger.org/display/besu
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.3 KiB
42 lines
1.3 KiB
6 years ago
|
dependencies {
|
||
|
implementation 'com.github.docker-java:docker-java'
|
||
|
implementation 'com.squareup.okhttp3:okhttp'
|
||
|
implementation 'io.vertx:vertx-core'
|
||
|
implementation 'org.apache.logging.log4j:log4j-api'
|
||
|
implementation 'org.assertj:assertj-core'
|
||
|
|
||
|
runtime 'org.apache.logging.log4j:log4j-core'
|
||
|
|
||
|
testImplementation project(':ethereum:client')
|
||
|
testImplementation project(':ethereum:jsonrpc')
|
||
|
testImplementation project(':pantheon')
|
||
|
testImplementation project(':util')
|
||
|
|
||
|
testImplementation 'junit:junit'
|
||
|
testImplementation 'org.awaitility:awaitility'
|
||
|
}
|
||
|
|
||
|
test.enabled = false
|
||
|
|
||
|
task smokeTest(type: Test) {
|
||
|
mustRunAfter rootProject.subprojects*.test
|
||
|
description = 'Runs basic Pantheon smoke tests.'
|
||
|
group = 'verification'
|
||
|
systemProperty 'pantheon.test.distribution', "${buildDir}/pantheon-${project.version}"
|
||
|
}
|
||
|
|
||
|
task unpackTarDistribution(type: Copy) {
|
||
|
dependsOn rootProject.distTar
|
||
|
def tar = file("${projectDir}/../build/distributions/pantheon-${project.version}.tar.gz")
|
||
|
inputs.files tar
|
||
|
from tarTree(tar)
|
||
|
into {buildDir}
|
||
|
}
|
||
|
|
||
|
smokeTest.dependsOn(unpackTarDistribution)
|
||
|
smokeTest.dependsOn(rootProject.installDist)
|
||
|
|
||
|
// Commenting out dependency so that check (on CircleCI won't try to run this and fail)
|
||
|
// Jenkins can run it as a separate task.
|
||
|
//check.dependsOn(smokeTest)
|