Skip to content

Commit

Permalink
Update qbft reference test submodule with SPDX header (hyperledger#2153)
Browse files Browse the repository at this point in the history
* Update qbft reference test submodule with SPDX header
* exclude submodule qbft reference-test docker_interop directory from spotless check

Signed-off-by: Usman Saleem <usman@usmans.info>
  • Loading branch information
usmansaleem authored Apr 19, 2021
1 parent 0eb871c commit 76a5887
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ allprojects {
exclude '**/generalstate/LegacyGeneralStateReferenceTest*.java'
exclude '**/blockchain/BlockchainReferenceTest*.java'
exclude '**/blockchain/LegacyBlockchainReferenceTest*.java'
exclude '**/reference-test/resources/docker_interop/**'
exclude '**/.gradle/**'
}
removeUnusedImports()
Expand Down
6 changes: 4 additions & 2 deletions consensus/qbft/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ sourceSets {
runtimeClasspath += main.output
srcDir file('src/reference-test/java')
}
resources.srcDir file('src/reference-test/resources')
resources {
srcDir file('src/reference-test/resources')
}
}
}

Expand Down Expand Up @@ -117,7 +119,7 @@ task ('validateReferenceTestSubmodule') {
description = "Checks that the reference tests submodule is not accidentally changed"
doLast {
def result = new ByteArrayOutputStream()
def expectedHash = '3862d7282e017f8d2c5af88e4c1eeeafcbb97697'
def expectedHash = 'c0077a14e0d773e239ba944f371ea640df8b1b60'
def submodulePath = java.nio.file.Path.of("${rootProject.projectDir}", "consensus/qbft/src/reference-test/resources").toAbsolutePath()
try {
exec {
Expand Down

0 comments on commit 76a5887

Please sign in to comment.